[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Cant run application as ./myapp.py

Gabriel Genellina

3/3/2008 2:27:00 PM

En Mon, 03 Mar 2008 10:35:30 -0200, Robert Rawlins
<robert.rawlins@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/b1d0fd0...

--
Gabriel Genellina