The Canon / R7 · root

Import is code execution

A module executes once and lives for the whole process: hence circular imports and half the oddities in tests.

1What follows from this

2Chapters of this root

17Import, end to end22From text to bytecode

Written by · The Python Canon