On Nov 1, 2007 8:48 AM, chewie54 <[EMAIL PROTECTED]> wrote: > Is there an python example that shows how to include a python shell in > a wxPython application. > > I have looked the wxPython demo but I was wondering if there are any > others that might be helpful in seeing how to connect the shell into > the app and allow scripting so that the shell knows all about the app > classes and variables. > > thanks, > > -- > http://mail.python.org/mailman/listinfo/python-list >
There's a chapter about it in the wxPIA book, and you can look at the sources of the wx.py package. When you create a shell, you pass it a dict that it uses as its global namespace. -- http://mail.python.org/mailman/listinfo/python-list