Trouble running a Grayson Example
David Lees
deblNonOspammy at theworld.com
Mon Mar 5 14:13:50 EST 2001
I am trying to run example 8.9 (Example_8_9.py) from Graysons book,
under Python 2.0 and get the following errors. Can someone tell me what
is going on? Perhaps this has to do with changes between 1.5.2 and 2.0
Python?
Thanks in advance.
david lees
Traceback (most recent call last): File
"d:\Python20\Pythonwin\pywin\framework\scriptutils.py", line 301, in
RunScript
exec codeObject in __main__.__dict__
File "E:\Grayson1\Chapter08\Example_8_9.py", line 79, in ?
ddnotebook = DDNotebook()
File "E:\Grayson1\Chapter08\AppShell.py", line 55, in __init__
self.__createInterface()
File "E:\Grayson1\Chapter08\AppShell.py", line 282, in
__createInterface
self.createInterface()
File "E:\Grayson1\Chapter08\Example_8_9.py", line 75, in
createInterface
self.createNotebook()
File "E:\Grayson1\Chapter08\Example_8_9.py", line 26, in
createNotebook Pmw.NoteBookR,(self.interior(),),)
File "E:\Downloads\pmw\Pmw\Pmw_0_8_4\lib\PmwLoader.py", line 174, in
__getattr__
AttributeError: NoteBookR
More information about the Python-list
mailing list