[Tutor] Starting a .py file from Idle

Alan Gauld alan.gauld at btinternet.com
Fri May 2 22:53:56 CEST 2008


"Mihai Iacob" <aymchaos at yahoo.com> wrote 

> Can anyone tell me how to start a program directly
> from the interpreter (i'm using IDLE). Usually i open
> a new window , write the lines of code and press F5 to
> run the program in the interpreter.

You mean the results show up in the interactive shell 
window of IDLE?

> The problem is that i need to to that directly from
> the interpreter. (I'm running windows).

Do you mean you want to run a program you have 
previously written inside IDLE?
Or that you want to run a program outside of IDLE?

Alan G



More information about the Tutor mailing list