"Python Wizard," with apologies to The Who

2011-07-12 Thread John Keisling
After too much time coding Python scripts and reading Mark Lutz's
Python books, I was inspired to write the following lyrics. For those
too young to remember, the tune is that of "Pinball Wizard," by The
Who. May it bring you as much joy as it brought me!


I cut my teeth on BASIC
At scripting I'm no pawn
>From C++ to Java
My code goes on and on
But I ain't seen nothing like this
In any place I've gone
That modeling and sim guy
Sure codes some mean Python!

He knows his dictionaries
His exceptions never pass
His polymorphic methods
Extend each superclass
He uses indentation
Its lines are clearly drawn
That modeling and sim guy
Sure codes some mean Python!

He's a Python wizard
His code just never wrecks
A Python wizard
He knows simple beats complex

How do you think he does it?
(I don't know)
What makes him so good?

He codes with TkInter
He can render treble clefs
He uses lamdba functions
With *args in their defs
Defines his module search path
Of tuples he's the don
That modeling and sim guy
Sure codes some mean Python!

I thought I was
The scripting language king
But I just handed
My Python crown to him

He links in to libraries
All optimized in C
He always uses docstrings
For readability
He knows file iterators
He bids all bugs begone
That modeling and sim guy
Sure codes some mean Python!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Matty Sarro
I don't know whether to LOL or mourn the part of me that just died inside :-P

j/k j/k
clever song, and it made me laugh :)

On Tue, Jul 12, 2011 at 12:40 PM, John Keisling
 wrote:
> After too much time coding Python scripts and reading Mark Lutz's
> Python books, I was inspired to write the following lyrics. For those
> too young to remember, the tune is that of "Pinball Wizard," by The
> Who. May it bring you as much joy as it brought me!
>
>
> I cut my teeth on BASIC
> At scripting I'm no pawn
> >From C++ to Java
> My code goes on and on
> But I ain't seen nothing like this
> In any place I've gone
> That modeling and sim guy
> Sure codes some mean Python!
>
> He knows his dictionaries
> His exceptions never pass
> His polymorphic methods
> Extend each superclass
> He uses indentation
> Its lines are clearly drawn
> That modeling and sim guy
> Sure codes some mean Python!
>
> He's a Python wizard
> His code just never wrecks
> A Python wizard
> He knows simple beats complex
>
> How do you think he does it?
> (I don't know)
> What makes him so good?
>
> He codes with TkInter
> He can render treble clefs
> He uses lamdba functions
> With *args in their defs
> Defines his module search path
> Of tuples he's the don
> That modeling and sim guy
> Sure codes some mean Python!
>
> I thought I was
> The scripting language king
> But I just handed
> My Python crown to him
>
> He links in to libraries
> All optimized in C
> He always uses docstrings
> For readability
> He knows file iterators
> He bids all bugs begone
> That modeling and sim guy
> Sure codes some mean Python!
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Tim Daneliuk
On 7/12/2011 11:40 AM, John Keisling said this:
> After too much time coding Python scripts and reading Mark Lutz's
> Python books, I was inspired to write the following lyrics. For those
> too young to remember, the tune is that of "Pinball Wizard," by The
> Who. May it bring you as much joy as it brought me!
> 



You realize that you must now reprise this with,
"I'm your wicked Uncle Guido" ... right?


-- 

Tim Daneliuk
tun...@tundraware.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Tim Daneliuk
On 7/12/2011 12:08 PM, Tim Daneliuk said this:
> On 7/12/2011 11:40 AM, John Keisling said this:
>> After too much time coding Python scripts and reading Mark Lutz's
>> Python books, I was inspired to write the following lyrics. For those
>> too young to remember, the tune is that of "Pinball Wizard," by The
>> Who. May it bring you as much joy as it brought me!
>>
> 
> 
> 
> You realize that you must now reprise this with,
> "I'm your wicked Uncle Guido" ... right?
> 
> 

While were on the subject:

  "T-t-t-alking 'bout my generator "

-- 

Tim Daneliuk
tun...@tundraware.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Phlip
> That modeling and sim guy
> Sure codes some mean Python!

C-;

And he changes key on the fly, too!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread John Keisling
On Jul 12, 11:34 am, Tim Daneliuk  wrote:
> On 7/12/2011 12:08 PM, Tim Daneliuk said this:
>
> > On 7/12/2011 11:40 AM, John Keisling said this:
> >> After too much time coding Python scripts and reading Mark Lutz's
> >> Python books, I was inspired to write the following lyrics. For those
> >> too young to remember, the tune is that of "Pinball Wizard," by The
> >> Who. May it bring you as much joy as it brought me!
>
> > 
>
> > You realize that you must now reprise this with,
> > "I'm your wicked Uncle Guido" ... right?
>
> While were on the subject:
>
>   "T-t-t-alking 'bout my generator "
>
> --
> 
> Tim Daneliuk
> tun...@tundraware.com

Brilliant! LOL!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Carl Banks
On Tuesday, July 12, 2011 9:40:23 AM UTC-7, John Keisling wrote:
> After too much time coding Python scripts and reading Mark Lutz's
> Python books, I was inspired to write the following lyrics. For those
> too young to remember, the tune is that of "Pinball Wizard," by The
> Who. May it bring you as much joy as it brought me!
> 
> 
> I cut my teeth on BASIC
> At scripting I'm no pawn
> From C++ to Java
> My code goes on and on
> But I ain't seen nothing like this
> In any place I've gone
> That modeling and sim guy
> Sure codes some mean Python!


That's pretty funny.  I knew what it would be even when I saw the cut-off 
subject line, and I am too young to remember it.


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


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Phlip
> That's pretty funny.  I knew what it would be even when I saw the cut-off 
> subject line, and I am too young to remember it.
>
> Carl Banks

TTTO "[She put the lime in the] Coconut":

  Brother wrote a database, he finish it on time
  His sister add requirements, refactor every line
  She change design in the database, she mix it all up
  She change design in the database, she mix it all up
  She change design in the database, she mix it all up
  She change design in that database, she called the doctor, woke him
up,

  Sayin' "Doctor, now I got to pay my dues,
  I say, Doctor, to debug away my blues,
  I say, Doctor, such a big change has to break,
  I say, Doctor! I must'a made a bug mistake!"

  "Now let me get this straight,
  You change the design in the database, mix things all up
  You change the design in the database, mix it all up,
  You change the design in the database, mix it all up..."

http://c2.com/cgi/wiki?SheChangeDesignInTheDatabase
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Ethan Furman

John Keisling wrote:

After too much time coding Python scripts and reading Mark Lutz's
Python books, I was inspired to write the following lyrics. For those
too young to remember, the tune is that of "Pinball Wizard," by The
Who. May it bring you as much joy as it brought me!



Absolutely hilarious!  Thanks!

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


Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Steven D'Aprano
John Keisling wrote:

> After too much time coding Python scripts and reading Mark Lutz's
> Python books, I was inspired to write the following lyrics. For those
> too young to remember, the tune is that of "Pinball Wizard," by The
> Who. May it bring you as much joy as it brought me!
[...]


I wouldn't know a good song parody if it kicked me in the head, but my wife
is a (retired) professional musician with a history of writing parodies.
She's not impressed by the work of most "filk singers" and supposed
parodies, most of which are seventeen kinds of crap... but she gives you
full marks. And trust me on this, she does not give compliments lightly.

She says you got the rhyming scheme and number of syllables spot on.
Technically, "That modeling and sim guy" needs to be slurred to make it
fit, "That mod'ling and sim guy", but that's acceptable.

(Most parodies get the syllable count wrong -- if a lyric goes
dum-de-dum-de-dum, the parody ends up like dum-dum-de-dum-de-dum or
dum-de-dum-de.)

Have a +1 from me and the missus.



-- 
Steven

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


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread bruno.desthuilli...@gmail.com
On Jul 12, 6:40 pm, John Keisling  wrote:
> After too much time coding Python scripts and reading Mark Lutz's
> Python books, I was inspired to write the following lyrics.

Brillant. This deserves to become a cpython easter egg along with
import this or from __future__ import braces.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread Chris Angelico
On Wed, Jul 13, 2011 at 10:46 PM, bruno.desthuilli...@gmail.com
 wrote:
> On Jul 12, 6:40 pm, John Keisling  wrote:
>> After too much time coding Python scripts and reading Mark Lutz's
>> Python books, I was inspired to write the following lyrics.
>
> Brillant. This deserves to become a cpython easter egg along with
> import this or from __future__ import braces.

Propose: from eastereggs import wizard

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


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread rusi
On Jul 13, 5:53 pm, Chris Angelico  wrote:
> On Wed, Jul 13, 2011 at 10:46 PM, bruno.desthuilli...@gmail.com
>
>  wrote:
> > On Jul 12, 6:40 pm, John Keisling  wrote:
> >> After too much time coding Python scripts and reading Mark Lutz's
> >> Python books, I was inspired to write the following lyrics.
>
> > Brillant. This deserves to become a cpython easter egg along with
> > import this or from __future__ import braces.

Well written, funny, educative. Thanks
But whats 'the modeling and sym guy' reference?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread rantingrick
On Jul 13, 10:14 am, rusi  wrote:

> Well written, funny, educative. Thanks
> But whats 'the modeling and sym guy' reference?

I believe it's "esoteric".
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread John Keisling
On Jul 12, 7:02 pm, Steven D'Aprano  wrote:
> John Keisling wrote:
> > After too much time coding Python scripts and reading Mark Lutz's
> > Python books, I was inspired to write the following lyrics. For those
> > too young to remember, the tune is that of "Pinball Wizard," by The
> > Who. May it bring you as much joy as it brought me!
>
> [...]
>
> I wouldn't know a good song parody if it kicked me in the head, but my wife
> is a (retired) professional musician with a history of writing parodies.
> She's not impressed by the work of most "filk singers" and supposed
> parodies, most of which are seventeen kinds of crap... but she gives you
> full marks. And trust me on this, she does not give compliments lightly.
>
> She says you got the rhyming scheme and number of syllables spot on.
> Technically, "That modeling and sim guy" needs to be slurred to make it
> fit, "That mod'ling and sim guy", but that's acceptable.
>
> (Most parodies get the syllable count wrong -- if a lyric goes
> dum-de-dum-de-dum, the parody ends up like dum-dum-de-dum-de-dum or
> dum-de-dum-de.)
>
> Have a +1 from me and the missus.
>
> --
> Steven

I very much appreciate that, coming from someone who clearly values
well-written poetry and lyrics as much as I do! I double majored in
math and English, and I always liked structured poetry. It's very
important to match not only the syllable count, but the meter too. I
also pride myself on never using the same rhyme twice in a song, which
even the original does not manage to do (they used "fall" twice).

Very glad you and the missus enjoyed it!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread John Keisling
On Jul 13, 6:53 am, Chris Angelico  wrote:
> On Wed, Jul 13, 2011 at 10:46 PM, bruno.desthuilli...@gmail.com
>
>  wrote:
> > On Jul 12, 6:40 pm, John Keisling  wrote:
> >> After too much time coding Python scripts and reading Mark Lutz's
> >> Python books, I was inspired to write the following lyrics.
>
> > Brillant. This deserves to become a cpython easter egg along with
> > import this or from __future__ import braces.
>
> Propose: from eastereggs import wizard
>
> ChrisA

I would be honored beyond words to have this become a Python Easter
egg! Does anyone know how to make that happen?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread John Keisling
On Jul 13, 12:32 pm, rantingrick  wrote:
> On Jul 13, 10:14 am, rusi  wrote:
>
> > Well written, funny, educative. Thanks
> > But whats 'the modeling and sym guy' reference?
>
> I believe it's "esoteric".

I actually had myself in mind, with tongue in cheek, of course! I work
in modeling and simulation and write Python scripts to automate data
visualization and analysis.

Of course, that line could also refer to a few of my co-workers.

Glad you all enjoyed the song!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread Chris Angelico
On Thu, Jul 14, 2011 at 5:31 AM, John Keisling  wrote:
> I very much appreciate that, coming from someone who clearly values
> well-written poetry and lyrics as much as I do! I double majored in
> math and English, and I always liked structured poetry. It's very
> important to match not only the syllable count, but the meter too. I
> also pride myself on never using the same rhyme twice in a song, which
> even the original does not manage to do (they used "fall" twice).

Having not known the original, I can't properly appreciate the parody,
but I wholeheartedly concur with the above. Especially when you
transmit your alternate words by email (as opposed to singing it
yourself and posting on Youtube, for instance), you need them to scan
perfectly so the reader isn't thrown off by anything. The other big
pitfall is polysyllabic rhymes, quite common in Gilbert & Sullivan but
probably not an issue here. (For instance, if the original rhymes
"modern gunnery" with "in a nunnery", then you have to replace that
with three-syllable words whose last two syllables are identical and
whose first syllables rhyme. Not an easy task!)

This appears to be an excellent parody, but others are better
positioned to proclaim its quality than I.

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


Re: "Python Wizard," with apologies to The Who

2011-07-13 Thread rantingrick
On Jul 13, 4:40 pm, Chris Angelico  wrote:

> Having not known the original, I can't properly appreciate the parody,

It's only a click away Chris... here let me youtube that for you...

 http://www.youtube.com/watch?v=4AKbUm8GrbM
 http://www.youtube.com/watch?v=SHhrZgojY1Q
 http://www.youtube.com/watch?v=IXWNSb4nUDY

Here's one for my would be nemisis(es)

 http://www.youtube.com/watch?v=fi_rGnw_B9A



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