This is a bunch of examples to accompany a talk given by myself (Nick Charlton) at TermiSoc to introduce programming with Python.
This repo is forked from Ross Bearman's game example the first year it was given (academic year 2010-2011), but expanded to cover more ground and be more useful for people following along.
hello_world.py
- a simple 'Hello World' examplehello_name.py
- as 'Hello World', but with keyboard inputfibonacci.py
- looping around to generate 10 instances of the fibonnaci sequencetweets.py
- gets and prints the last 20 tweets from the public timelineadventure_game.py
- a starting point for a text based adventure game, using OOP
If you'd like to add another example please: Fork this repository. Make your changes. Send a pull request. But, don't change version numbers or add tags.
Copyright TermiSoc and its members, 2011. Licensed under the MIT license.