python

sdfgsd footnipple at indiatimes.com
Thu Jan 22 15:08:27 CET 2004


"Jess Martin" <trickster121990 at hotmail.com> wrote in message
news:mailman.626.1074743244.12720.python-list at python.org...
> i need help.
> im just learning to program and
> every time i try to do a command more than
> a line long it wont work

Assuming you're using windows:

Take your lines of code and put them into their own file with a .py
extention (ie MyProgram.py).

Then go to the command line and into the directory where MyProgram.py
resides and type "python MyProgram.py". This will run your program
containing as many lines of code as you like.





More information about the Python-list mailing list