[Edu-sig] question about livewires package. . .

Gregor Lingl glingl at aon.at
Mon Nov 21 12:03:23 CET 2005



Scott David Daniels schrieb:
> Andy Judkis wrote:
> ...
> 
>>Livewires graphics routines behave differently under Python 2.4.1 than they 
>>...
> you can start Idle with the "separate process" feature disabled by
> changing the idle startup from something like: "python ...idle.pyw"
> to something like "python ...idle.pyw -n" -- start idle with no
> subprocesses.
> 
> on Windows:
>      copy the idle shortcut (right-click, menu item copy; right-click on
>      desktop, menu item paste).
>      Right-click on your new shortcut (now often called something like
>      "Copy of Idle") and choose properties. In the "General" tab, you
>      can fix the name to be something more to your liking. On the
>      shortcut tab, change the "Target" entry by append a space and a -n
>      to the target.
>      Click OK, and you have a new Idle button which does the one-process
>      Idle thing.
> 

Sometimes you may want to or have to do interactive graphics on one or 
more (Windows) machines where you can't or don't want to change the 
desktop etc. (e.g. you have to do a workshop somewhere etc...)

In this case the following trick will work:
Rightclick an arbitrary *.py progam in Windows Explorer and choose "edit 
with IDLE...". This also will open IDLE in the -n (or no subprocess) mode.

You may create a tiny program with the single statement

from Tkinter import *    (or: from turtle import *)

and use this for the above trick.

Regards,
Gregor



-- 
Gregor Lingl
Reisnerstrasse 3/19
A-1030 Wien

Telefon: +43 1 713 33 98
Mobil:   +43 664 140 35 27



More information about the Edu-sig mailing list