[Tutor] Running a program

John Washakie washakie at gmail.com
Tue May 1 15:34:07 CEST 2007


Jessica,

Assuming you have python installed on your system (Windows?, *nix?),
then all you have to do is double click the .py file and it will run.

If you want, you can run it from the command line:

C:\> python yourfile.py





On 5/1/07, Jessica Brink <jbrink at npsd.k12.wi.us> wrote:
>
>
> I know this seems elementary, but if I write a program and save it as a .py
> file, how do I then run that program on the command line or in the Python
> Shell (GUI)?  Or is there something I'm missing?  I swear I was able to do
> this once, and now I can't remember what I did...
>
>
> Jessica Brink
> Business/Computer Teacher
> Northland Pines High School
> Eagle River, WI
> 715-479-4473 ext. 0701
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>


More information about the Tutor mailing list