python 2.2.3 & mega widgets 1.1

K

ken erickson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top