python 2.2.3 & mega widgets 1.1

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ken erickson

    python 2.2.3 & mega widgets 1.1

    Is Python Megawidgets 1.1 compatible with Python 2.2.3.

    I'm new to Python and I'm trying to work my way through some example is John
    Grayson's Python and Tkinter Programming book. He has some sample code that
    uses the PMW library.

    The reason I ask is due to a problem that I'm having in trying to run the
    demo code included with the widget library. I get an AttributeError message
    when ever the demo code attempts to use any of the Pwm methods. I've tried
    to find the meaning of the AttributeError message but I'm unable to locate
    this error message in any of the online documentation; including the FAQ.

    C:\Python22\Pmw \demos>python colors.py
    Traceback (most recent call last):
    File "colors.py" , line 44, in ?
    Pmw.initialise( root, fontScheme = 'pmw1')
    AttributeError: 'module' object has no attribute 'initialise'

    -TIA


Working...