Dirk Grunwald,
I'm not so sure, I understood clearly what you want to do.
Do you want to be able to draw something (lines, rectangles, ...)
on a "canvas" from within a Python interpreter or do you wish to duplicated the graphics.py module with wxPython ?
In the former case, I may have a solution. In the latter case,
I think it is quite complicate, because drawing in Tk and wxPython
are very different?
Jean-Michel Fauth, Switzerland