Re: [Tutor] RUNNING A PROGRAM

2008-10-20 Thread Alan Gauld
"WM" <[EMAIL PROTECTED]> wrote a = "Futzenburgerstein" b = ( 7 + 2 ) / 3 c = b / 2 print a, b, c The above text was copied from a window named "??futz.py-C:\Python26\futz.py" The ?? is two red script characters which I cannot read. When I go 'F5' or Run > Run Module I get kicked back into ID

[Tutor] RUNNING A PROGRAM

2008-10-19 Thread WM
a = "Futzenburgerstein" b = ( 7 + 2 ) / 3 c = b / 2 print a, b, c The above text was copied from a window named "??futz.py-C:\Python26\futz.py" The ?? is two red script characters which I cannot read. When I go 'F5' or Run > Run Module I get kicked back into IDLE. Shouldn't 'F5' get me a window

Re: [Tutor] Running a program

2007-05-01 Thread Alan Gauld
"Jessica Brink" <[EMAIL PROTECTED]> 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 Just type "python script.py" at the OS prompt Or in *nix you can just type script.py if you havbe a shebang li

Re: [Tutor] Running a program

2007-05-01 Thread John Washakie
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 <[EMAIL PROTECTED]> wrote: > > > I know thi

[Tutor] Running a program

2007-05-01 Thread Jessica Brink
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 Bus

Re: [Tutor] running a program

2005-11-28 Thread Kent Johnson
Alan Gauld wrote: > 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. mmm, that should be namefile.pyw Kent -- http://www.kentsjohnson.com __

Re: [Tutor] running a program

2005-11-28 Thread Alan Gauld
> "Pujo Aji" <[EMAIL PROTECTED]> 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

Re: [Tutor] running a program

2005-11-28 Thread Pujo Aji
this should be the same as running other python code.assuming you use windows,  you can type from dos command :python namefile.pyCheers,pujoOn 11/28/05, David Jimenez <[EMAIL PROTECTED]> wrote: Hello everybody,I have a very simple question: how can I run a script that uses module Tkinter witho

[Tutor] running a program

2005-11-27 Thread David Jimenez
Hello everybody,I have a very simple question: how can I run a script that uses module Tkinter without using IDLE? Thank you,David Yahoo! Music Unlimited - Access over 1 million songs. Try it free.___ Tutor maillist - Tutor@python.org http: