Re: Cant run application as ./myapp.py

2008-03-03 Thread Gabriel Genellina
En Mon, 03 Mar 2008 10:35:30 -0200, Robert Rawlins <[EMAIL PROTECTED]> 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

Re: Cant run application as ./myapp.py

2008-03-03 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Robert, I have to guesses: a) The user as which you are trying to run the script is missing the execute right -> fix by chmod u+x MyApplication.px b) You did not specify the interpreter -> the first line of your script should look something like

Cant run application as ./myapp.py

2008-03-03 Thread Robert Rawlins
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 litt