Nils Oliver Kröger
3/3/2008 1:53:00 PM
-----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 #!/usr/bin/python
If none of this is the problem please post the error message you
(hopefully) get.
hth
Nils
Robert Rawlins schrieb:
> 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
>
-----BEGIN PGP SIGNATURE-----
iD8DBQFHzALBzvGJy8WEGTcRAtE8AJ4jGFTjZ8G8ayZM2AUcLcArnF5d1QCdH0gj
kCdp0414HwPaIMIDv/SSTZA=
=tF3K
-----END PGP SIGNATURE-----