Prototyping/Soldier Soldier Will You Marry Me: Difference between revisions
Line 1: | Line 1: | ||
= Soldier, Soldier, Will You Marry Me = | = Soldier, Soldier, Will You Marry Me = | ||
== Lyrics == | == Lyrics == | ||
Line 60: | Line 38: | ||
When I've a wife and child at home? | When I've a wife and child at home? | ||
</pre> | </pre> | ||
== Links == | |||
* [http://www.youtube.com/playlist?list=PLB9D6C5820E3651F1 playlist] | |||
* [http://mudcat.org/@displaysong.cfm?SongID=5430 Lyrics on mudcat.org] | |||
* [http://www.pdinfo.com/record.php Audio recordings in the public domain?] | |||
* [http://meaningfulidly.blogspot.com/2011/02/o-soldier-soldier-wont-you-marry-me.html contemporary response] | |||
* [http://lipalicious.blogspot.com/2010/09/soldier-soldier-wont-you-marry-me-by.html inevitable potential for connecting to shopping] | |||
== Exercise == | |||
"Compress" the lyrics by expressing as a Python script using a loop. | |||
Python basics | |||
* Variables | |||
* Assignment | |||
* Printing with variables (including the format method) | |||
* For loop | |||
* For loops, and the '''range''' function | |||
== Assignment for next week == | == Assignment for next week == | ||
Based on the past two weeks, use the tools we've been exploring (python, inkscape, bash), create reworking of a "public domain" work. | Based on the past two weeks, use the tools we've been exploring (python, inkscape, bash), create reworking of a "public domain" work. |
Revision as of 18:31, 20 October 2011
Soldier, Soldier, Will You Marry Me
Lyrics
Soldier, soldier, will you marry me With your musket, fife and drum? Oh how can I marry such a pretty little girl When I have no coat to put on? Off to the tailor she did go As fast as she could run She brought him back the finest that was there Now soldier, put it on Soldier, soldier, will you marry me With your musket, fife and drum? Oh how can I marry such a pretty little girl When I have no shoes to put on? Off to the cobbler she did go As fast as she could run She brought him back the finest that was there Now soldier, put them on Soldier, soldier, will you marry me With your musket, fife and drum? Oh how can I marry such a pretty little girl When I have no hat to put on? Off to the hatter she did go As fast as she could run She brought him back the finest that was there Now soldier, put it on Soldier, soldier, will you marry me With your musket, fife and drum? Oh how can I marry such a pretty little girl When I've a wife and child at home?
Links
- playlist
- Lyrics on mudcat.org
- Audio recordings in the public domain?
- contemporary response
- inevitable potential for connecting to shopping
Exercise
"Compress" the lyrics by expressing as a Python script using a loop.
Python basics
- Variables
- Assignment
- Printing with variables (including the format method)
- For loop
- For loops, and the range function
Assignment for next week
Based on the past two weeks, use the tools we've been exploring (python, inkscape, bash), create reworking of a "public domain" work.