Running a script in IDLE?

Gilles Lenfant glt at e-pack.net
Tue Aug 1 09:07:37 EDT 2000


Rodney Loisel a écrit :

> In CH6 of  Laningham's "Teach Yourself Python ..." the text
> shows running an example script in a DOS window and IDLE.
> I loaded the file into IDLE which created a new window for
> the script but could find no way to run that script without typing
> it over again in the inter-active IDLE window.  It would be so
> much easier to run scripts from IDLE if that's possible.
>
> btw - IDLE responds to my voice-rec. program and that sure
> saves a lot of typing ...
>
> rloisel at helicon.net Rodney Loisel Enfield NH.

With IDLE 0.5 (don't know for previous versions), put the script window
on top, save the script if required (Ctrl+X-Ctrl+S) and hit Ctrl+F5.
It's in the "Edit" menu.


More information about the Python-list mailing list