Course notes and materials for the self-paced multi-topic “Python3: Advanced topics” course.
The course “Python3: Advanced topics” is a collection of self-paced courses all run at the same time. Attendees arrive in the classroom and select a handout from the set shown below. They can then do that handout at their own pace, using a home directory provided for them with all the necessary files in it. There is no order to the handouts other than a few dependencies and attendees are welcome to try whichever they find most useful. On completion they are welcome to take another or simply leave.
The room is staffed with two (or more) UCS Python experts who are available to answer questions about any issues that arise and to assist should any attendees get stuck at any point.
The PDFs of the handouts are available individually below, as is an archive of the entire home directory students get. This consists of a number of subdirectories, one per topic, each of which contains the PDF for that topic in a file called notes.pdf.
- The home directory (TGZ archive, unpacks as a directory PythonTopics).
Handouts
- Argument parsing: how to write Python3 scripts with nifty --help options and the like
- Child processes: how to launch other non-Python commands from Python
- Handling errors: how to cope with errors other than having your scripts crash
- Regular expressions: searching and pattern matching in Python3
- Structured text (CSV) files: how to process CSV (and related) files
- Plotting simple graphs: how to create a variety of 2-D graphs