The Wrestling with Python course was delivered in autumn 2013 and spring 2014. Each session was 2 hours and was delivered as a slide presentation and a set of practical exercises.
Feel free to use or adapt them for your teaching.
Spring/Summer 2015 Sessions
Tuesday 24th February
Tuesday 3rd March
Tuesday 17th March
Tuesday 24th March
Autumn/Winter 2014 Sessions
Tuesday 2nd December
Tuesday 25th November
Tuesday 18th November
Tuesday 11th November
Tuesday 4th November
Tuesday 28th October
Spring 2014 Introduction to Python
Go through the slides before having a go at the practical session. Each session builds on the next one, so make sure that you have a good understanding before moving onto the next one.
Session 1: Getting Started
Session 2: Making Decisions
Session 3: Repeating with Loops
Session 4: Lists
Session 5: Data Processing
Session 6: Methods
This is a combined session that brings together the previous six sessions to provide a larger block of content that you can do all at once, or use as a revision exercise.
These sessions build in the previous 6 to provide an introduction to more advanced features of the Python language. They also cover the basics of programming using objects.
Session 1: Cricket Exercise
Practical notes here.
Worked example for the cricket scores exercise here.
Homework, Python and Potatoes, here.
Session 2: Working with Methods
Session 3: Using Lists
Session 4: Using Classes
Session 5: Advanced Classes
Session 6: File Handling and Debugging
An Introduction to Pygame
These sessions describe simple game development using the Pygame framework. Each session is presented as a slide deck and a set of exercises which are to be performed during the presentation.
The later sessions describe a game template which can be used as the basis of sprite based Python games.
Session 1: Getting Started with Pygame
You can find some cheese here.
Session 2: Making a Game
Session 3 : Games and Classes
Fully working CrackerChase game here. You will need to unzip this into a folder to play it.
Session 4 : Creating Games
Session 5 : Game Structure
Python Maze code here.