Series overview

Python Bakery

External functions

This lesson covers importing functions from other modules, such as randint from random or floor and pi from math, and briefly introduces third-party libraries distributed through the Python Package Index. Students also read code using the Drafter web-app library, whose imported functions build a page from styled text and content components.