python 2.2.3 & mega widgets 1.1

Discussion in 'Python' started by ken erickson, Jul 15, 2003.

  1. ken erickson

    ken erickson Guest

    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
    ken erickson, Jul 15, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick
    Replies:
    0
    Views:
    578
  2. Replies:
    3
    Views:
    442
    Max Erickson
    Nov 10, 2005
  3. Zeph
    Replies:
    9
    Views:
    293
    Peter Decker
    Aug 17, 2006
  4. Fuzzyman
    Replies:
    0
    Views:
    306
    Fuzzyman
    Sep 17, 2006
  5. Beginner

    Mega Newbie pointer question

    Beginner, Aug 10, 2006, in forum: C Programming
    Replies:
    2
    Views:
    283
    Chris Torek
    Aug 11, 2006
Loading...

Share This Page