15.04.2013 Views

Core Python Programming (2nd Edition)

Core Python Programming (2nd Edition)

Core Python Programming (2nd Edition)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Section 8.7. break Statement<br />

Section 8.8. continue Statement<br />

Section 8.9. pass Statement<br />

Section 8.10. else Statement ... Take Two<br />

Section 8.11. Iterators and the iter() Function<br />

Section 8.12. List Comprehensions<br />

Section 8.13. Generator Expressions<br />

Section 8.14. Related Modules<br />

Section 8.15. Exercises<br />

Chapter 9. Files and Input/Output<br />

Section 9.1. File Objects<br />

Section 9.2. File Built-in Functions [open() and file()]<br />

Section 9.3. File Built-in Methods<br />

Section 9.4. File Built-in Attributes<br />

Section 9.5. Standard Files<br />

Section 9.6. Command-Line Arguments<br />

Section 9.7. File System<br />

Section 9.8. File Execution<br />

Section 9.9. Persistent Storage Modules<br />

Section 9.10. Related Modules<br />

Section 9.11. Exercises<br />

Chapter 10. Errors and Exceptions<br />

Section 10.1. What Are Exceptions?<br />

Section 10.2. Exceptions in <strong>Python</strong><br />

Section 10.3. Detecting and Handling Exceptions<br />

Section 10.4. Context Management<br />

Section 10.5. *Exceptions as Strings<br />

Section 10.6. Raising Exceptions<br />

Section 10.7. Assertions<br />

Section 10.8. Standard Exceptions<br />

Section 10.9. *Creating Exceptions<br />

Section 10.10. Why Exceptions (Now)?<br />

Section 10.11. Why Exceptions at All?<br />

Section 10.12. Exceptions and the sys Module<br />

Section 10.13. Related Modules<br />

Section 10.14. Exercises<br />

Chapter 11. Functions and Functional <strong>Programming</strong><br />

Section 11.1. What Are Functions?<br />

Section 11.2. Calling Functions<br />

Section 11.3. Creating Functions<br />

Section 11.4. Passing Functions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!