[Tutor] Starting a .py file from Idle

bob gailer bgailer at gmail.com
Fri May 2 23:42:14 CEST 2008


Mihai Iacob wrote:
> Hello,
>
>  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.
>  The problem is that i need to to that directly from
> the interpreter. 

Pray tell, why?

Try
 >>> import program

-- 
Bob Gailer
919-636-4239 Chapel Hill, NC



More information about the Tutor mailing list