Modules
Collection of stuff in foo.py file
functions, classes, variables
Importing modules:
import string; print string.join(L)
from string import join; print join(L)
Rename after import:
import string; s = string; del string
Previous slide
Next slide
Back to first slide
View graphic version