Re: [Tutor] Questions about the new turtle module in Python 2.6b2

2008-08-15 Thread Gregor Lingl
Hi Dick, as I promised some days ago, here is an event driven version of a rectangle generator, which is based on my first example: from turtle import * from random import random, randint from time import sleep MAXLEN = 30 MAXWID = 25 def randomcolor(): return random(), random(), random() d

Re: [Tutor] Questions about the new turtle module in Python 2.6b2

2008-08-10 Thread Dick Moores
At 11:57 PM 8/9/2008, you wrote: Dick Moores schrieb: Gregor, 1. I want the window to open with the right edge 0 pixels from the right edge of my screen. However, setup(width=.75, height=.915, startx=-0, starty=0) doesn't work. I h

Re: [Tutor] Questions about the new turtle module in Python 2.6b2

2008-08-09 Thread Gregor Lingl
Dick Moores schrieb: At 03:12 AM 8/9/2008, Dick Moores wrote: 4. For my random_rectangles.py program I've started to try out the new turtle. (See the current state of random_rectanglesV16_web.py at < http://py77.python.pastebin.com/d3e842821>.)

Re: [Tutor] Questions about the new turtle module in Python 2.6b2

2008-08-09 Thread Dick Moores
At 03:12 AM 8/9/2008, Dick Moores wrote: 4. For my random_rectangles.py program I've started to try out the new turtle. (See the current state of random_rectanglesV16_web.py at < http://py77.python.pastebin.com/d3e842821>.) The only downside I've found is that the new turtle is much faster that

[Tutor] Questions about the new turtle module in Python 2.6b2

2008-08-09 Thread Dick Moores
Gregor, 1. I want the window to open with the right edge 0 pixels from the right edge of my screen. However, setup(width=.75, height=.915, startx=-0, starty=0) doesn't work. I have to do the nearest thing, setup(width=.75, height=.91