by Simon Bluck
What this course covers
This Python Course covers what’s useful to know so you can quickly and easily set about writing Python programs. Detailed Python programming will be covered progressively in subsequent courses.
The course assumes a varied audience, from those that may have very little computing/programming experience, to those who have already been actively programming in Python. The aim is to get everyone up to the point where they feel confident in using Python and writing useful programs. But we can’t cover everything in this short course: Python, and all that has been written by skilled people the world over in support of it, is extensive.
Please feel free to seek assistance with understanding Python, particularly with the topics covered in the course sessions.
Table of Contents
Session One: Introduction and Setup – session material
- Computers and Programming
- What is Python?
- Working with Python
- Online Information
Session Two: Basic Constructs – session material
- Converting Python 2 programs to Python3
Session Three: Modules, Strings, loops, functions and files session material
- Doc strings
- Importing a module
- How Python finds a module
- Module layout and boilerplate
Session Four: Approaching Coding, Input and Output – session material
- Coding style
- An example from the pygame library
Session Five: Exceptions – session material
- Learning Python
- Language composition
- Objects, values and types
- Operating on data
- Assignment and expressions
- Loops, conditions and iterators
- More on strings
- Input and Output
Session 7: Decorators – session material
– Constructing a Decorator
– Some Uses for Decorators