[Tutor] interpreter restarts
Luke Paireepinart
rabidpoobear at gmail.com
Sat Jul 14 05:52:19 CEST 2007
Alan Gauld wrote:
> "elis aeris" <hunter92383 at gmail.com> wrote
>
>
>> from a file, i click run from the IDLE interpreter
>>
>
> OK, Thats just normal IDLE behaviour. The Python shell
> restarts so your module doesn't pick up any junk lying
> around from the previous run.
>
But there's an exception to that - if you right-click a file in Windoze
and 'edit' it,
IDLE won't open up its subprocess, and as such, it can't restart the
interpreter session because it's running in the same
process as IDLE, and to restart the interpreter would mean restarting IDLE.
Boy, that 'edit with idle' thing sure does cause some problems, don't it? :)
-Luke
More information about the Tutor
mailing list