[Tutor] [ctypes-users] calls to windll.user32

Tiger12506 keridee at jayco.net
Thu Jan 24 13:45:47 CET 2008


> Something like this happens with Pygame and IDLE.  In Windows if you 
> right click on a Python file and choose the "Edit with IDLE" option IDLE 
> is started with a single process.  If the program is run and it does its 
> own windowing then it conflicts with Tkinter, used by IDLE.  Start IDLE 
> first, then open the file to edit.

Change the registry setting makes it easier to code in the future.

HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command
"C:\Python25\pythonw.exe" "C:\Python25\Lib\idlelib\idle.pyw" -n -e "%1"

Take out the -n to remove the "no subprocess" option.
You should be able to use "Edit with IDLE" as expected.


More information about the Tutor mailing list