Newbie: How do I run a script from IDLE (Win98)

bernie bernie at
Wed Feb 28 18:30:17 CET 2001

David Stewart wrote:

> I can import and run my “Hello World” module/function in the immediate
> window but if I then edit and save the source file I can not see how to
> run the modified code without closing and restarting the shell.

1.    Open <Hello>
2.    Make your change
3.    Save the changes <Ctrl-s>
4.    Run the script <Ctrl-F5>

If you are dealing with mutliple module files, then you should:

A.    Repeat step 1 to 3 above
B.    Go to the main module
C.    Repeat Step 4

It works most of the time, unless you use thread modules.

Hope it helps!


More information about the Python-list mailing list