- Timestamp:
- 03/05/10 22:12:20 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
hodgestar/Talks/PythonForProgrammers/slides/slide-notes.txt
r726 r728 33 33 34 34 35 == Slots == 35 File Handling and Iterables 36 --------------------------- 36 37 37 3. File Handling and Iterables [text2.py] 38 * Open text2.py in gedit 39 * Look at list slicing and item fetching 40 * Exception handling 41 * File-like objects 42 * Duck typing 38 43 39 4. Packages [texutil package and iPython shell]40 - What is a package?41 - Importing42 - Namespaces43 - .pyc files44 44 45 5. Classes and basic OO [sort.py] 45 ********** FIRST BREAK ********** 46 47 48 Packages and Modules 49 -------------------- 50 51 * What is a package? 52 * Importing 53 * Namespaces 54 * .pyc files 55 * Play around with imported packages in IPython shell 56 * Experiment with dir(package) and dir(module) 57 58 59 Classes and Basic OO 60 -------------------- 61 46 62 47 63 6. 48 64 49 65 66 ********** SECOND BREAK ********** 67 50 68 Scope 51 52 Iterables53 69 List Comprehension and Generator Expressions 54 70 Generators … … 57 73 8. 58 74 9. 75 76 pkg_resources 77 78 ********** THIRD BREAK ********** 59 79 60 80 10. … … 67 87 - PEP 8 68 88 - SHOW PYTHON 2.6 DOCS!!! 89 90 91 ********** END ********** 69 92 70 93 #== CD ==
