"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
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
"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
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
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
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
__
> "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
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
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: