A Gentle Introduction to Python

Course Outline

This two day course is designed for anyone interested in learning to program using Python.

Pre-requisites

Basic knowledge of how to use a computer and text editor useful, but not required.

Your own laptop preferably running either Linux or Mac OS X. We can supply free Ubuntu CDs on the day.

Course Details

Day 1: What is Python?

We will be covering the basic setup and installation of Python on everyone's computers.

We will focus on creating several basic scripts including processing command line arguments, reading data from files and standard input and printing out information. As part of this, we will review basic Python data types such as numbers, strings, arrays and dictionaries.

Finally, as time permits, we will review the organisation of source code, including how to use functions, classes and modules to keep source code organised.

Day 2: Robot Finds Kitten

We will pick up from the previous day with the goal of writing a moderately complex program. The basic program structures will be provided and we will collaboratively create a game in the genre of "Robot Finds Kitten".

During this day, the goal is to provide people with an enjoyable goal, and an environment where they can ask questions and move at their own pace, using the knowledge taught the previous day.

Resources

Information covered in the course will be written up and provided online to attendees of the course. All source code and associated documentation will be made available.