[Edu-sig] Problem with mouse clicks

2007-02-19 Thread Peter Drake
I just had my students write this program in my CS0 class: from graphics import * graphics() while 0 1: click = mouse() x = click[0] y = click[1] oval([x-10, y-10], [x+10, y+10]) (Note that graphics is Zelle's version with my procedural wrappers appended,

Re: [Edu-sig] [edupython] edu-dinner

2007-02-19 Thread Jeffrey Elkner
I added the time (7 pm) and a sign-up list for the dinner on the PyEdu wiki page: http://us.pycon.org/TX2007/PyEdu jeff elkner On Mon, 19 Feb 2007 13:58:52 -0600, Michael Tobis [EMAIL PROTECTED] wrote: I just talked to the Marriott; they are perfectly OK doing room service into the Preston

Re: [Edu-sig] edu-dinner

2007-02-19 Thread Ian Bicking
Michael Tobis wrote: I just talked to the Marriott; they are perfectly OK doing room service into the Preston Trail II room. One of us staying at the hotel can collect cash from all interested and put it on a credit card. I am willing to do this. So I suggest we combine dinner and our

Re: [Edu-sig] edu-dinner

2007-02-19 Thread Jeff Rush
Ian Bicking wrote: Michael Tobis wrote: I just talked to the Marriott; they are perfectly OK doing room service into the Preston Trail II room. One of us staying at the hotel can collect cash from all interested and put it on a credit card. I am willing to do this. So I suggest we

Re: [Edu-sig] edu-dinner

2007-02-19 Thread Ian Bicking
Jeff Rush wrote: Ian Bicking wrote: Michael Tobis wrote: I just talked to the Marriott; they are perfectly OK doing room service into the Preston Trail II room. One of us staying at the hotel can collect cash from all interested and put it on a credit card. I am willing to do this. So I

Re: [Edu-sig] understanding recursion

2007-02-19 Thread Michel Paul
I'd like to share an idea that occurred to me awhile back. It's a problem one can pose prior to discussing any specific programming language. Given two black-box functions prev(n) and next(n), along with conditional reasoning and the typical math comparison operators, define arithmetic. So for

Re: [Edu-sig] understanding recursion

2007-02-19 Thread kirby urner
The important thing in these exercises is that we can't use our typical arithmetic operators of +, -, *, /, as we are DEFINING them! I think a Pythoneer will twistedly think at this point is: why do you say can't use we can can just *redefine* __add__, __sub__, other __ribs__, to suit, get

Re: [Edu-sig] edu-dinner

2007-02-19 Thread Ivan Krstić
Tom Hoffman wrote: My only concern is that Hands on with the OLPC is Saturday at 8:00, so I imagine many of us will be ducking out for that. Was the plan to do the edu-sig meeting after dinner in the same room? If not, perhaps we can do the OLPC meeting at 8 in the same room, as a continuation