Uni Graz logo

CMS 1

Modules and Documentation

Gerald Senarclens de Grancy <cms@senarclens.eu>

Terminology

Python Modules

Creating + Installing Packages

What can be said
in code, should be!

Documentation

Docstrings

Doctests

If the code and the comments disagree, then both are probably wrong.
Norm Schryer

Homework and Required Reading

  1. Work through the Tutorial on Object Oriented Programming in Python as far as you get (ideally up to and including part 9)
  2. Build teams and select topics for the term project
  3. Do the 5th homework

Summary

Questions
and feedback...

Further Reading

David Goodger and Guido van Rossum PEP 257 – Docstring Conventions http://www.python.org/dev/peps/pep-0257/
Kevlin Henney (edt.) 97 Things Every Programmer Should Know O'Reilly (2010)
Mark Pilgrim Dive Into Python 3 (2nd edition) Apress (October 23, 2009)
Python Software Foundation Python Documentation http://docs.python.org/py3k/