[wxPython-users] demo code- GridSimple.py

Werner F. Bruhin werner.bruhin at free.fr
Mon Jun 11 00:35:51 PDT 2007


Hi Tony,

Tony Cappellini wrote:
> When I tried to run  GridSimple.py this traceback is shown
>
> python GridSimple.py
> Traceback (most recent call last):
>  File "GridSimple.py", line 245, in <module>
>    from wx.lib.mixins.inspect import InspectableApp
> ImportError: No module named inspect
>
>
> Does anyone know why this example wont run?
>
> I'm using wx 2.8.4.0 on python 2.5
I see it only happens if one runs it outside the demo.

Change line 245:

    from wx.lib.mixins.inspect import InspectableApp

to
    from wx.lib.mixins.inspection import InspectableApp

Werner




More information about the wxpython-users mailing list