Cant run application as ./myapp.py
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Mar 3 09:26:53 EST 2008
En Mon, 03 Mar 2008 10:35:30 -0200, Robert Rawlins
<robert.rawlins at thinkbluemedia.co.uk> escribió:
> I've got an application here which for some reason won't start using the
> following syntax from the command line:
>
>
> Cd /mydirectory
>
> ./MyApplication.py
>
>
> I have to run this as a fully qualified python launch such as:
>
>
> Cd /mydirectory
>
> python MyApplication.py
>
>
> This is a little bit confusing to me as I have other applications which
> run
> just fine using the ./somthing.py syntax. Is there any reason why this
> doesn't work?
See this thread from last year:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/b1d0fd05b3615057/
--
Gabriel Genellina
More information about the Python-list
mailing list