Executing python script in non-interactive mode on cygwin (windows)
sybrenUSE at YOURthirdtower.com.imagination
Mon Jan 23 09:15:23 CET 2006
Pankaj enlightened us with:
> But i think python is worse than perl
No it isn't.
> It takes to interactive mode , which i don;t want to use.
Then don't use it.
> "python scriptname.py"
> does not execute python script
Yes it does.
> 1. I placed these contents in a file named "1.py"
> while n<=0:
Which is immediately false.
> on "cygwin shell in windows"
> i gave "python 1.py"
> hoping that it will exeucte and give me output, but nothing was
Which is correct for your program.
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
More information about the Python-list