✐
✐
“91974˙APPB˙final” — 2012/11/14 — 12:54 — page 457 — #1
✐
✐
✐
✐
✐
✐
APPENDIX
B
Python Quick Reference
This quick reference provides an overview of the primary Python constructs used in this
book. It is not a detailed reference but rather a compendium of tables and syntax. These
are described in much more detail within the book. Further, more detailed documentation
can be found at http://python.org/release/3.2/library.
B.1 Python Reserved Words
The words shown in Table B.1 are reserved by Python. You should not use any of these
words as identifiers in your program. If you do, you will get a SyntaxError.
and continue else for import not return
assert def except ...
Get Python Programming in Context, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.