very newbie question

Tom Babbitt tbabbitt at commspeed.net
Thu Mar 7 11:10:16 EST 2002


"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 to
just run it with phython (ie 'c:\Python22\python snakes.py' (you could need
to rename the filename to *.py)).

Tom Babbitt





More information about the Python-list mailing list