Boston Python Workshop 5/Staff notes

Revision as of 15:53, 4 March 2012 by imported>Jesstess (Created page with '=== Saturday Project outlines === ==== ColorWall ==== # Review relevant material from lecture (e.g. dictionaries) # Go over SolidColorTest and DictionaryTest in effects.py as a …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Saturday Project outlines

ColorWall

  1. Review relevant material from lecture (e.g. dictionaries)
  2. Go over SolidColorTest and DictionaryTest in effects.py as a class
  3. Have students implement RainbowTest

If people finish (3) early, have them tweak existing effects or write a new one. Example tweaks including:

  • changing the hue bounds in Twinkle
  • change the math in Checkerboards
  • write and customize (e.g. colors) your own message in Message

Twitter

  1. Review relevant material from lecture (e.g. modules and imports)
  2. Go over search() and trendingTopics() in twitter_functions.py as a class
  3. Have students implement userTweets()

If people finish (3) early, have them implement trendingTweets() or customize the display of individual tweets displayed by search() (e.g. display the sender).

Wordplay

  1. Review relevant material from lecture (e.g. for loops)
  2. Go over words1.py through words6.py as a class
  3. Demo scrabble_cheater.py
  4. Have students explore other interesting word properties or play with scrabble_cheater.py (we've had people start Words With Friends games and cheat using the script)