[Tutor] How to run a Python program under Windows.
Alan Gauld
alan.gauld at btinternet.com
Tue Jul 29 19:17:48 CEST 2008
"bob gailer" <bgailer at gmail.com> wrote
> Best way for now is from the command prompt (like
> "c:\\python25\\python test.py")
Since many newbies have no idea how to start a command prompt I'll
add:
go to
Start->Run
type CMD in the dialog and click OK
A black window should appear, this is the command prompt.
Typing
python<Return>
at the prompt should get you a Python >>> prompt.
Typing
Ctrl-Z<Return>
will exit it.
But as mentioned elsewhere using IDLE (or Python GUI
in the start menu) is a better option. Or if you got the ActiveState
version of python better still use PythonWin.
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list