How do modules work, the sequel
•
C extensions provide thin wrappers that behave as
dictionaries that store module globals
•
Note that repeated imports execute the code only once
•
Beware of circular imports
# A.py
# B.py
import B
import A
y=1
print A.y