how to run a programm after you have typed in the commands (was Re: [Tutor] help (fwd))

Ben Vinger benvinger at yahoo.co.uk
Wed Apr 13 21:53:47 CEST 2005


It sounds like you've been using the Python
interactive prompt such as IDLE.   You can type the
same Python statements you've used there into a text
editor or Python IDE and save it.
Let's say you have created a Python program/script
called hello.py in a text editor and saved it. You can
now open a command prompt (Windows) or console (linux)
in the directory where your program is saved.
 Then type:
python hello.py 

If you are using Windows and this does not work, it
will be because Python is not in your system path.
Good luck
Ben



--- Danny Yoo <dyoo at hkn.eecs.berkeley.edu> wrote:
> 
> 
> ---------- Forwarded message ----------
> Date: Wed, 13 Apr 2005 17:12:55 +0200
> From: Feziwe Mpondo <feziwe at sanbi.ac.za>
> To: tutor-owner at python.org
> Subject: help
> 
> how to run a programm after you have typed in the
> commands
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the Tutor mailing list