Help with Run Script please!

Raymond Hettinger vze4rx4y at verizon.net
Wed Oct 9 16:06:23 EDT 2002


> >> > New to the group and also to Python. I`ve just installed Python
(2.2.1) on
> a
> > win 98 setup and when I click on Edit - Run Script I get the message
"The
> > buffer for Python shell is not saved please save it first!" so am unable
> to
> > run any script I`ve produced, wondered if anyone can tell me how to save
> the
> > `Python shell buffer` as I can`t find any reference to this.
>
>
> So you're using IDLE, that being the message you get when you use the Edit
|
> Run Script menu item. "Python Shell" is the interactive IDLE window, which
> you don't normally run.
>
> Try creating a new script window with Edit | New Window (CTRL/N) and
> entering a script in it, then choose the File | Save menu item and store
it
> in an appropriate place on your disk. Then try running the script again,
> using Edit | Run Script from the new window's menu bar.

FYI, this question comes up so often that I loaded a fix into Py2.2.2.
Now, the run script option appears only in the script windows rather
than the shell window.


Raymond Hettinger





More information about the Python-list mailing list