Is there an example somewhere that shows how to create a custom,
threaded, python shell that can be used to control a wx app. Rather
than pycrust, which is a shell in a wx application, I want something
more along the lines of
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65109 which
does what I am looking for for GTK, which creates a python shell in a
regular terminal that can be used to control pygtk apps.
Thanks!
John Hunter
John Hunter wrote:
Is there an example somewhere that shows how to create a custom,
threaded, python shell that can be used to control a wx app.
There was one included with SciPy at one point. I'm not sure if it's being maintained at the moment, and I don't remember what it's called, but what it was was a shell that started up wx in a separate thread, so that the interactive interpreter remained active, and had some tricks to make sure all your gui calls were run in the wx thread, rather than the main one. Check the SciPy web site, and if you can't find it, ask on a SciPy mailing list.
-Chris
ยทยทยท
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov