Skip to content
This repository was archived by the owner on Dec 3, 2018. It is now read-only.

Latest commit

 

History

History
21 lines (13 loc) · 997 Bytes

File metadata and controls

21 lines (13 loc) · 997 Bytes

TermiSoc Python Tutorial

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.

The Examples

  1. hello_world.py - a simple 'Hello World' example
  2. hello_name.py - as 'Hello World', but with keyboard input
  3. fibonacci.py - looping around to generate 10 instances of the fibonnaci sequence
  4. tweets.py - gets and prints the last 20 tweets from the public timeline
  5. adventure_game.py - a starting point for a text based adventure game, using OOP

Contributing

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.

License & Usage

Copyright TermiSoc and its members, 2011. Licensed under the MIT license.