[Tutor] running a program

Alan Gauld ukc802591034 at btconnect.com
Tue Nov 29 00:49:07 CET 2005


> "Pujo Aji" <ajikoe at gmail.com> wrote:
> this should be the same as running other python code.
> assuming you use windows,  you can type from dos command :
>
> python namefile.py

Or indeed just double click on the file in Windows explorer.

Extra tip:
If you rename it to namefile.pyc then it won't bring up the
blank DOS console window.

HTH,

-- 
Alan G
Author of the learn to program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld








More information about the Tutor mailing list