Re: [OT] Any Python lullabies?

2006-04-22 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>,
 Ralf Muschall <[EMAIL PROTECTED]> wrote:

>Christos Georgiou wrote:
>> ... that I can sing to my newborn son (actually, born yesterday)?
>
>...but the baby probably won't see the difference.

Boy, some people do take the "born yesterday" bit to heart. don't they. 
:)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] Any Python lullabies?

2006-04-18 Thread Jarek Zgoda
Christos Georgiou napisaƂ(a):

> Since there have been python limmericks, are there any Python lullabies that
> I can sing to my newborn son (actually, born yesterday)?  I tried to murmur
> some select parts from the tutorial, but he somehow wasn't very interested
> :)

Your son is too small to understand all the good that comes with Python.
Let him be a usual newborn, but prepare a harness like I did for my
daughter (now nearly 2 y.o.): Tuxpaint. Now it's a big time to add
Python scripting to this proggie. ;)

Let our children see that programming can be straight and easy. Let them
express their thoughts as programs, if they wish to do so.

-- 
Jarek Zgoda
http://jpa.berlios.de/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] Any Python lullabies?

2006-04-18 Thread Ralf Muschall
Christos Georgiou wrote:
> Since there have been python limmericks, are there any Python lullabies that
> I can sing to my newborn son (actually, born yesterday)?  I tried to murmur
> some select parts from the tutorial, but he somehow wasn't very interested
> :)

There is something near the end of the Camel book (p. 552ff).
This isn't exactly python, but the baby probably won't see
the difference.

SCNR, Ralf
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] Any Python lullabies?

2006-04-18 Thread Robin Becker
Not a lullaby, but appropriate near easter(s)

while 1:
 life.side.bright.look()

-- 
Robin Becker

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] Any Python lullabies?

2006-04-18 Thread A.M. Kuchling
On Tue, 18 Apr 2006 07:07:27 -0500, 
Tim Chase <[EMAIL PROTECTED]> wrote:
> >>> [horse for horse in horses if horse.pretty]

I'm familiar with this one as:
all(pony for pony in ponies if pony.pretty).

Never knew there was a version with "horse", not "pony".  Jane Siberry
does a nice rendition of the pony version.

There's also:

if brother_john.is_sleeping():
pass
if brother_john.is_sleeping():
pass
assert bells['morning'].is_ringing()
assert bells['morning'].is_ringing()

--amk
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] Any Python lullabies?

2006-04-18 Thread Tim Chase
> Since there have been python limmericks, are there any
> Python lullabies that I can sing to my newborn son
> (actually, born yesterday)?  I tried to murmur some
> select parts from the tutorial, but he somehow wasn't
> very interested :)

Well, you might start with "Twinkle, Twinkle, Little 
Asterisk" or:

 >>> "Blind Mice" * 3
 >>> you is self.sunshine
 >>> [horse for horse in horses if horse.pretty]
 >>> for baby in tree.top.babies:
...if wind.blows(): baby.cradle.rock()
...if tree.bough.breaks():
...fall([baby, cradle, all])
...

and last, and certainly worst:

 >>> "Mary had a Little Lambda"

While you're at it, if you want them to learn Vim, you can 
hum them "Bram's Lullaby"... (groan)

Okay...that's a bad enough starter :)

-tkc




-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] Any Python lullabies?

2006-04-18 Thread Dan Sommers
On Tue, 18 Apr 2006 14:12:14 +0300,
Christos Georgiou <[EMAIL PROTECTED]> wrote:

> Since there have been python limmericks, are there any Python
> lullabies that I can sing to my newborn son (actually, born
> yesterday)?  I tried to murmur some select parts from the tutorial,
> but he somehow wasn't very interested :)

Then isn't that the perfect lullaby material?  ;-)

Regards,
Dan

-- 
Dan Sommers

"I wish people would die in alphabetical order." -- My wife, the genealogist
-- 
http://mail.python.org/mailman/listinfo/python-list


[OT] Any Python lullabies?

2006-04-18 Thread Christos Georgiou
Since there have been python limmericks, are there any Python lullabies that
I can sing to my newborn son (actually, born yesterday)?  I tried to murmur
some select parts from the tutorial, but he somehow wasn't very interested
:)
-- 
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
-- 
http://mail.python.org/mailman/listinfo/python-list