From: Luky Romero <[email protected]>
>To: Alan Gauld <[email protected]> 
>Sent: Saturday, 26 April 2014, 0:28
>Subject: Re: [Tutor] Opening a new script
> 
>
>
>By script I mean the text editor that allows you to modify code, 
>and by shell, I mean the portion of the IDLE that allows you to 
>use the interpreter and the interactive part of Python simultaneously. No, you 
>cannot open a new file for editing from the IDLE shell.
You have to use the File->New menu. But there are shortcuts 
(Ctrl-N on Linux) to do that from the keyboard if that helps.

You can also import the file into the interpreter for testing but 
that can lead to problems if you change it and have to try to 
reload it.

Personally I prefer to just run the file separately using 
Run Module (F5) and see the output in the shell window.

HTH

Alan G.
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to