Danny Yoo wrote:
>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 lo
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?
You can use a Canvas widget to draw lines. You will probably have to scale your
coordinates to match the coordinates o
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 documentat
On 07/11/05, Shi Mu <[EMAIL PROTECTED]> 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?
You need to use a Tkinter.Canvas.
Have a look at Fredrik Lundh's site: http://effbot.
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?
Thanks a lot!
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tuto