[Tutor] draw lines

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Sun Nov 6 22:52:04 CET 2005

On Sun, 6 Nov 2005, Shi Mu wrote:

> I have a list of random points: [[x0,y0],[x1,y1],...,[xn,yn]] how can I
> use Tkinter to draw lines to connect them one by one based on the order
> in the list?

Do you know how to draw a single line in Tkinter?  Have you looked at the
Canvas widget documentation?


Next time, you may want to show us what you've done to try to solve the
problem you have.

For the past few questions, I have not been able to get an intuitive sense
of why you're having trouble figuring out things from documentation.  All
I see right now is that you have some new requirement, and then you ask
the Tutor list for help.  It's the step in-between that is a mystery to

Do you just get stuck, or do you try something to figure out what you
don't know, or...?  Do you know where to look for documentation on
subjects like Tkinter?

It's not that we don't like answering your questions, but we want to make
sure you're learning how to find the answers for yourself too.
Otherwise, we end up being a crutch and we do damage to your learning

More information about the Tutor mailing list