Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9324 > unrolled thread

"Python Wizard," with apologies to The Who

Started byJohn Keisling <maththespian87@gmail.com>
First post2011-07-12 09:40 -0700
Last post2011-07-13 12:32 -0700
Articles 17 — 10 participants

Back to article view | Back to comp.lang.python


Contents

  "Python Wizard," with apologies to The Who John Keisling <maththespian87@gmail.com> - 2011-07-12 09:40 -0700
    Re: "Python Wizard," with apologies to The Who Matty Sarro <msarro@gmail.com> - 2011-07-12 12:48 -0400
    Re: "Python Wizard," with apologies to The Who Tim Daneliuk <tundra@tundraware.com> - 2011-07-12 12:08 -0500
      Re: "Python Wizard," with apologies to The Who Tim Daneliuk <tundra@tundraware.com> - 2011-07-12 12:34 -0500
        Re: "Python Wizard," with apologies to The Who John Keisling <maththespian87@gmail.com> - 2011-07-12 11:47 -0700
    Re: "Python Wizard," with apologies to The Who Phlip <phlip2005@gmail.com> - 2011-07-12 11:01 -0700
    Re: "Python Wizard," with apologies to The Who Ethan Furman <ethan@stoneleaf.us> - 2011-07-12 15:19 -0700
    Re: "Python Wizard," with apologies to The Who Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-13 11:02 +1000
      Re: "Python Wizard," with apologies to The Who John Keisling <maththespian87@gmail.com> - 2011-07-13 12:31 -0700
        Re: "Python Wizard," with apologies to The Who Chris Angelico <rosuav@gmail.com> - 2011-07-14 07:40 +1000
          Re: "Python Wizard," with apologies to The Who rantingrick <rantingrick@gmail.com> - 2011-07-13 16:43 -0700
    Re: "Python Wizard," with apologies to The Who "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2011-07-13 05:46 -0700
      Re: "Python Wizard," with apologies to The Who Chris Angelico <rosuav@gmail.com> - 2011-07-13 22:53 +1000
        Re: "Python Wizard," with apologies to The Who rusi <rustompmody@gmail.com> - 2011-07-13 08:14 -0700
          Re: "Python Wizard," with apologies to The Who rantingrick <rantingrick@gmail.com> - 2011-07-13 11:32 -0700
            Re: "Python Wizard," with apologies to The Who John Keisling <maththespian87@gmail.com> - 2011-07-13 12:35 -0700
        Re: "Python Wizard," with apologies to The Who John Keisling <maththespian87@gmail.com> - 2011-07-13 12:32 -0700

#9324 — "Python Wizard," with apologies to The Who

FromJohn Keisling <maththespian87@gmail.com>
Date2011-07-12 09:40 -0700
Subject"Python Wizard," with apologies to The Who
Message-ID<8479eca3-843d-4857-a857-320da4a93965@u6g2000prc.googlegroups.com>
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!

[toc] | [next] | [standalone]


#9326

FromMatty Sarro <msarro@gmail.com>
Date2011-07-12 12:48 -0400
Message-ID<mailman.945.1310489321.1164.python-list@python.org>
In reply to#9324
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
<maththespian87@gmail.com> 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
>

[toc] | [prev] | [next] | [standalone]


#9328

FromTim Daneliuk <tundra@tundraware.com>
Date2011-07-12 12:08 -0500
Message-ID<5mbue8-v3i.ln1@ozzie.tundraware.com>
In reply to#9324
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!
> 

<SNIP>

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


-- 
------------------------------------------------------------------------
Tim Daneliuk
tundra@tundraware.com

[toc] | [prev] | [next] | [standalone]


#9331

FromTim Daneliuk <tundra@tundraware.com>
Date2011-07-12 12:34 -0500
Message-ID<p5due8-bbi.ln1@ozzie.tundraware.com>
In reply to#9328
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!
>>
> 
> <SNIP>
> 
> 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
tundra@tundraware.com

[toc] | [prev] | [next] | [standalone]


#9337

FromJohn Keisling <maththespian87@gmail.com>
Date2011-07-12 11:47 -0700
Message-ID<8b876209-2146-418c-97d4-8ac63b2d33aa@g3g2000prf.googlegroups.com>
In reply to#9331
On Jul 12, 11:34 am, Tim Daneliuk <tun...@tundraware.com> 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!
>
> > <SNIP>
>
> > 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!

[toc] | [prev] | [next] | [standalone]


#9334

FromPhlip <phlip2005@gmail.com>
Date2011-07-12 11:01 -0700
Message-ID<9c6b4082-4b62-4dfc-ab9a-96bf697abb60@k19g2000prn.googlegroups.com>
In reply to#9324
> That modeling and sim guy
> Sure codes some mean Python!

C-;

And he changes key on the fly, too!

[toc] | [prev] | [next] | [standalone]


#9353

FromEthan Furman <ethan@stoneleaf.us>
Date2011-07-12 15:19 -0700
Message-ID<mailman.956.1310508214.1164.python-list@python.org>
In reply to#9324
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~

[toc] | [prev] | [next] | [standalone]


#9358

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2011-07-13 11:02 +1000
Message-ID<4e1cee94$0$30003$c3e8da3$5496439d@news.astraweb.com>
In reply to#9324
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

[toc] | [prev] | [next] | [standalone]


#9428

FromJohn Keisling <maththespian87@gmail.com>
Date2011-07-13 12:31 -0700
Message-ID<9d1facb5-f5a3-4f8a-8de3-fe9fd9906f60@g3g2000prf.googlegroups.com>
In reply to#9358
On Jul 12, 7:02 pm, Steven D'Aprano <steve
+comp.lang.pyt...@pearwood.info> 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!

[toc] | [prev] | [next] | [standalone]


#9446

FromChris Angelico <rosuav@gmail.com>
Date2011-07-14 07:40 +1000
Message-ID<mailman.1006.1310593222.1164.python-list@python.org>
In reply to#9428
On Thu, Jul 14, 2011 at 5:31 AM, John Keisling <maththespian87@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#9451

Fromrantingrick <rantingrick@gmail.com>
Date2011-07-13 16:43 -0700
Message-ID<bcafe933-de94-4b63-9f8c-4c99af071d58@j15g2000yqf.googlegroups.com>
In reply to#9446
On Jul 13, 4:40 pm, Chris Angelico <ros...@gmail.com> 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


[toc] | [prev] | [next] | [standalone]


#9388

From"bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com>
Date2011-07-13 05:46 -0700
Message-ID<a5733b98-afe5-434a-8562-2b31945c788f@e8g2000yqi.googlegroups.com>
In reply to#9324
On Jul 12, 6:40 pm, John Keisling <maththespia...@gmail.com> 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.

[toc] | [prev] | [next] | [standalone]


#9389

FromChris Angelico <rosuav@gmail.com>
Date2011-07-13 22:53 +1000
Message-ID<mailman.975.1310561639.1164.python-list@python.org>
In reply to#9388
On Wed, Jul 13, 2011 at 10:46 PM, bruno.desthuilliers@gmail.com
<bruno.desthuilliers@gmail.com> wrote:
> On Jul 12, 6:40 pm, John Keisling <maththespia...@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#9404

Fromrusi <rustompmody@gmail.com>
Date2011-07-13 08:14 -0700
Message-ID<77c057d4-eb7e-4dfd-b021-2fdaa1e5f68d@f39g2000prb.googlegroups.com>
In reply to#9389
On Jul 13, 5:53 pm, Chris Angelico <ros...@gmail.com> wrote:
> On Wed, Jul 13, 2011 at 10:46 PM, bruno.desthuilli...@gmail.com
>
> <bruno.desthuilli...@gmail.com> wrote:
> > On Jul 12, 6:40 pm, John Keisling <maththespia...@gmail.com> 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?

[toc] | [prev] | [next] | [standalone]


#9425

Fromrantingrick <rantingrick@gmail.com>
Date2011-07-13 11:32 -0700
Message-ID<000e90cf-4dc8-4499-88d7-43c294499d70@z12g2000yqj.googlegroups.com>
In reply to#9404
On Jul 13, 10:14 am, rusi <rustompm...@gmail.com> wrote:

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

I believe it's "esoteric".

[toc] | [prev] | [next] | [standalone]


#9430

FromJohn Keisling <maththespian87@gmail.com>
Date2011-07-13 12:35 -0700
Message-ID<4d025ec6-d603-4206-b78f-5dac6aba1e19@k23g2000pri.googlegroups.com>
In reply to#9425
On Jul 13, 12:32 pm, rantingrick <rantingr...@gmail.com> wrote:
> On Jul 13, 10:14 am, rusi <rustompm...@gmail.com> 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!

[toc] | [prev] | [next] | [standalone]


#9429

FromJohn Keisling <maththespian87@gmail.com>
Date2011-07-13 12:32 -0700
Message-ID<60e495ba-8a03-42d5-bf0a-995948d2ab26@p29g2000pre.googlegroups.com>
In reply to#9389
On Jul 13, 6:53 am, Chris Angelico <ros...@gmail.com> wrote:
> On Wed, Jul 13, 2011 at 10:46 PM, bruno.desthuilli...@gmail.com
>
> <bruno.desthuilli...@gmail.com> wrote:
> > On Jul 12, 6:40 pm, John Keisling <maththespia...@gmail.com> 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?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web