[Tutor] trouble with a small Tkinter example
Chuck Mayers
chuck.mayers at gmail.com
Tue Sep 21 22:50:38 CEST 2010
Hello,
I'm having trouble with this small example program:
http://en.literateprograms.org/Bresenham%27s_line_algorithm_%28Python%29
When I run it, I only get a blank grey window. I'm running Python 2.6 under
Windows XP.
If there's a problem with the code, I can't see it... it seems like it
should work. Can anyone else try this and see if it works for them?
If I stick this line in before the loop, it does draw a red line, so I know
my copy of Python/Tkinter is working:
canvas.create_line(10, 100, 5, 50 , fill='red')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100921/1db8529f/attachment.html>
More information about the Tutor
mailing list