Re: Executing python script in non-interactive mode on cygwin (windows)

2006-01-23 Thread Sybren Stuvel
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" > a,b=0,1

Re: Executing python script in non-interactive mode on cygwin (windows)

2006-01-23 Thread Pankaj
Thanks it was my mistake -- http://mail.python.org/mailman/listinfo/python-list

Re: Executing python script in non-interactive mode on cygwin (windows)

2006-01-23 Thread Fredrik Lundh
"Pankaj" wrote: > I know perl and now i want to use python > > In perl, it is very simple , just > "perl scriptname.pl" > will execute the script. > > But i think python is worse than perl > > It takes to interactive mode , which i don;t want to use. > > "python scriptname.py" > does not execute

Executing python script in non-interactive mode on cygwin (windows)

2006-01-23 Thread Pankaj
I am facing a very basic problem as any new bie would face. I know perl and now i want to use python In perl, it is very simple , just "perl scriptname.pl" will execute the script. But i think python is worse than perl It takes to interactive mode , which i don;t want to use. "python scriptna