Re: [Tutor] Questions of Maths

2007-04-19 Thread Abu Ismail
Thank you very much guys, this has been most helpful. At the moment I run the program as Alan suggests. However, the goal is to incorporate the program into Glade2 GUI and I am not sure that it will work with Tk, although I must admit I have not tried it out yet. Abu Ismail On 4/18/07, János Juh

Re: [Tutor] Questions of Maths

2007-04-18 Thread János Juhász
Hi Abu, > Question: how to determine whether point C is to the left or to the > right of the line AB? When the line given by A(Xa,Ya) and B(Xb, Yb), the area of the A-B-C triangle can be calculated with the value of next determinant / 2 | Xa, Ya, 1 | | Xb, Yb, 1 | | Xc, Yc, 1 | / 2 So: Area =

Re: [Tutor] Questions of Maths

2007-04-18 Thread Alan Gauld
"Abu Ismail" <[EMAIL PROTECTED]> wrote > I am working on an implementation of an L-system in Python. I hate > using turtle module since it uses Tk and as my IDE also uses Tk I > have > to close my editor before I can test the program. Why so? Don''t you have a multi-tasking OS? If so just run a

Re: [Tutor] Questions of Maths

2007-04-18 Thread Andre Roberge
On 4/18/07, Abu Ismail <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on an implementation of an L-system in Python. I hate > using turtle module since it uses Tk and as my IDE also uses Tk I have > to close my editor before I can test the program. So I am implementing > the graphics using PIL.