Need help with canvas widget in Tkinter please

Fredrik Lundh fredrik at pythonware.com
Sun Jan 2 12:17:58 EST 2000


flounder <flounder_pounder at telebot.com> wrote:
> when i run this it gives me this error
> 
> -----------ERROR MESSAGE--------------
> 
> Traceback (innermost last):
>   File ".//test.py", line 11, in ?
>     item = display.create_image(0, 0, anchor=NW, image=photo)
> AttributeError: 'None' object has no attribute 'create_image'
> 
> -----------END OF ERROR---------------
> 
> can anyone show me how this should be done I have looked at the
> documentation and can't figure it out

what documentation?

your problem, and how to fix it, is described here:
http://www.pythonware.com/library/tkinter/introduction/x131-more-on-widget-references.htm

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
(currently number five on fatbrain's bestseller list! ;-) -->





More information about the Python-list mailing list