very newbie question
bergeston at yahoo.fr
Thu Mar 7 19:02:18 CET 2002
Probably not saved at all !
Try this in Idle:
menu File - Save as (choose a pretty name ending by .py and click on button
Read status bar if nothing happens !
"Tom Babbitt" <tbabbitt at commspeed.net> wrote in message
news:1015517718.445890 at news.commspeed.net...
> "ron nixon" <ron at ire.org> wrote in message
> news:61ff32e3.0203070659.28cf5e1c at posting.google.com...
> > I've got a script called snakes saved to my c: drive and I want to run
> > it from IDLE. By when I do file open and run script, I get an invalid
> > syntax message. Likewise if I write the script in IDLE and hit "run
> > script" it get a message saying that says "the buffer for Python Shell
> > is not saved. Please save it first." Soooo. With all that being said.
> > How do I save a script and then get python to execute it from IDLE(and
> > where in the documentation is this?)
> > Thanks in advance
> It's not clear why you want to run your program from IDLE, you mite want
> just run it with phython (ie 'c:\Python22\python snakes.py' (you could
> to rename the filename to *.py)).
> Tom Babbitt
More information about the Python-list