[Tutor] Opening a new script

ALAN GAULD alan.gauld at btinternet.com
Sat Apr 26 02:43:52 CEST 2014

From: Luky Romero <luky.romero at gmail.com>
>To: Alan Gauld <alan.gauld at btinternet.com> 
>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.


Alan G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140426/011ff97a/attachment.html>

More information about the Tutor mailing list