Re: [Edu-sig] what you can do in a shell

2006-09-28 Thread Dethe Elza
On 27-Sep-06, at 6:24 PM, kirby urner wrote: Question: The PEP on the 2.5 release schedule (2.5 Final already reached), claims PEP 309 was somewhere implemented -- some way to curry functions with partial. Anyone know where it is. Our own edu-sig's Scott...

Re: [Edu-sig] what you can do in a shell

2006-09-28 Thread kirby urner
On 9/28/06, Dethe Elza [EMAIL PROTECTED] wrote: One of the best ways to get up to speed quickly with the new features in a new version of Python is with Andrew Kuchling's What's New article in the standard documentation. Yes. Python.org is such a well organized site, I encourage people to

[Edu-sig] what you can do in a shell

2006-09-27 Thread Michel Paul
Here's a case where I was able to weave Python into math class a little unexpectedly - The other day students were confused by why we subtract h in y = f(x - h) when we translate f horizontally h units. So I fired up Python and did a shell session with them. Here is something similar to what

Re: [Edu-sig] what you can do in a shell

2006-09-27 Thread kirby urner
This is the beauty of the Python shell - a math student doesn't have to know any Python syntax to be able to follow this. They can just see it as active Algebra. Yes, exactly: Pythonic Algebra is naturally self-teaching, plus you can do it without some adult standing over you, watching you

Re: [Edu-sig] what you can do in a shell

2006-09-27 Thread kirby urner
Question: The PEP on the 2.5 release schedule (2.5 Final already reached), claims PEP 309 was somewhere implemented -- some way to curry functions with partial. Anyone know where it is. Our own edu-sig's Scott... http://www.python.org/dev/peps/pep-0356/ Oh wait, I just found it: import