Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Downloaded Python file there and not there



2008/8/22 Dave M G <dave@example.com>:
> TLUG,
>
> I'm making my CMS system available on Google Code. I've downloaded a python
> script they make available for uploading the code via command line.
>
> However, even though I've got the python file in my directory where I'm
> trying to run it, it keeps saying it's not found. Like so:
>
> $ ls -la
> -rwxrwxrwx  1 dave dave 11106 2008-08-22 12:18 googlecode_upload.py
> $ googlecode-upload.py --help
> bash: googlecode-upload.py: command not found
> $ ./googlecode-upload.py --help
> bash: ./googlecode-upload.py: No such file or directory
>
> Is there something else I need to do so that I can actually run the script?

Replace the hyphen in the filename you're attempting to execute with
an underscore? ;)


Ian Barwick


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links