Contribute Media
A thank you to everyone who makes this possible: Read More

Modules 101: how to avoid spaghetti, big balls of mud and houses of straw!

Summary

This introductory tutorial will teach you how to effectively use modules and packages so your code is easier to read, test, package, deploy, reuse and maintain.

We will cover the basics of structuring your code with modules and packages, ways of using the import statement, how to document modules and packages, and a number of tips to ensure your code is less likely to end up a tangled mess that collapses when you need to modify or extend it.

This talk is compatible with Python 2 and 3.

Details

Improve this page