Changeset 728 for hodgestar/Talks/PythonForProgrammers/slides/py4prog.py
- Timestamp:
- 03/05/10 22:12:20 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
hodgestar/Talks/PythonForProgrammers/slides/py4prog.py
r727 r728 159 159 ), 160 160 161 Slide("Packages and Modules", 162 Bullet("Creating a package:", PRE(""" 163 textutil 164 |-- __init__.py 165 `-- sort.py 166 """)), 167 Bullet("__init__.py:", PYCODE(r''' 168 """This is the textutil package.""" 169 170 from .sort import Sort 171 ''')), 172 Bullet("Packages and modules are objects too!"), 173 ), 174 175 Slide("Classes and Basic OO", 176 Bullet("..."), 177 ), 178 161 179 ) 162 180
