Trouble running a Grayson Example

Wayne Izatt wayne.izatt at _nospam_myself.com
Tue Mar 6 02:25:27 EST 2001


We don't all have the book. If you want help with code, include it.

cheers

"David Lees" <deblNonOspammy at theworld.com> wrote in message
news:3AA3E573.6DBE6D2E at theworld.com...
> 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