Cant run application as ./myapp.py

Robert Rawlins robert.rawlins at thinkbluemedia.co.uk
Mon Mar 3 07:35:30 EST 2008


Hello Guys,

 

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?

 

Cheers,

 

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080303/b4843902/attachment.html>


More information about the Python-list mailing list