[Tutor] How to put an event into the Tcl/Tk event queue?

2007-08-26 Thread Daniel Knierim
Hi All, I'm starting to learn how to use the TkInter module. So far I've got a couple versions of 'hello world' working. I'd like to simulate user input to TkInter applications from another Python script, by inserting events in the Tcl event queue. Tcl/Tk has a couple functions for this (Tk_

[Tutor] TypeError in base class __init__ after reload

2008-01-23 Thread Daniel Knierim
Hello Pythonistas, Running the script 'instantiate_and_reload.py' gives me the error TypeError: unbound method __init__() must be called with ParentClass instance as first argument (got ChildClass instance instead) on the last call to ChildClass(), at line 23. The earlier calls don't trigge