Boston Python Workshop 6/Saturday project instructor outlines: Difference between revisions
Content added Content deleted
imported>Jesstess (Created page with "The projects live on GitHub: * https://github.com/jesstess/TwitterAPI * https://github.com/jesstess/Wordplay * https://github.com/jesstess/ColorWall They are instructor-led, ...") |
imported>Jesstess No edit summary |
||
Line 28: | Line 28: | ||
# Demo <tt>scrabble_cheater.py</tt> |
# Demo <tt>scrabble_cheater.py</tt> |
||
# Have students explore other interesting word properties or play with <tt>scrabble_cheater.py</tt> (we've had people start Words With Friends games and cheat using the script) |
# Have students explore other interesting word properties or play with <tt>scrabble_cheater.py</tt> (we've had people start Words With Friends games and cheat using the script) |
||
[[Boston Python Workshop 6/Saturday projects|« Back to the Projects page]] |
Latest revision as of 02:28, 19 April 2012
The projects live on GitHub:
- https://github.com/jesstess/TwitterAPI
- https://github.com/jesstess/Wordplay
- https://github.com/jesstess/ColorWall
They are instructor-led, following roughly these outlines:
ColorWall
- Review relevant material from lecture (e.g. dictionaries)
- Go over SolidColorTest and DictionaryTest in effects.py as a class
- 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
- Review relevant material from lecture (e.g. modules and imports)
- Go over search() and trendingTopics() in twitter_functions.py as a class
- 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
- Review relevant material from lecture (e.g. for loops)
- Go over words1.py through words6.py as a class
- Demo scrabble_cheater.py
- 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)