Calvin,
On Fri, Jun 20, 2008 at 12:14:03AM +0800, Calvin Cheng wrote:
Are you executing python in the same directory in Cygwin as you are in
the command prompt? If not, then python will not be able to find
"<scriptname>.p y" unless you specify a (relative or absolute) path to
it.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
On Fri, Jun 20, 2008 at 12:14:03AM +0800, Calvin Cheng wrote:
This may be a cygwin issue but I was hoping to get some answers here
as well if someone has fixed this problem before.
>
Basically, I am able to run "python <scriptname>.py " python files in
command prompt. Unfortunately, I can't seem to get it to work in
cygwin. I always get an error that says:
python: can't open file '<scriptname>.p y': [Errno 2] No such file or directory
as well if someone has fixed this problem before.
>
Basically, I am able to run "python <scriptname>.py " python files in
command prompt. Unfortunately, I can't seem to get it to work in
cygwin. I always get an error that says:
python: can't open file '<scriptname>.p y': [Errno 2] No such file or directory
the command prompt? If not, then python will not be able to find
"<scriptname>.p y" unless you specify a (relative or absolute) path to
it.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6