Learning Python - Mark Lutz [639]
unit tests with __name__ attribute, Unit Tests with __name__
unittest, Development Tools for Larger Projects
Unix, The Interactive Prompt, Unix Executable Scripts (#!), Unix Executable Scripts (#!)
env lookup trick, Unix Executable Scripts (#!)
executable scripts, Unix Executable Scripts (#!)
Python command line, starting, The Interactive Prompt
Unladen Swallow project, Future Possibilities?
update method, More Dictionary Methods
user base of Python language, Who Uses Python Today?
user-defined classes, User-Defined Classes
user-defined exceptions, User-Defined Exceptions
UTF-8 encoding, Character Encoding Schemes
utility modules, Built-in Numeric Tools
V
values method, More Dictionary Methods, Dictionary View Iterators
van Rossum, Guido, It’s Free
variables, Variables and Basic Expressions, Variables and Basic Expressions, Variables, Objects, and References, Variables, Objects, and References, Variable Name Rules, Names have no type, but objects do, Local Variables, Python Scope Basics, Imports Happen Only Once
declaration, Variables and Basic Expressions
initialization, Imports Happen Only Once
local variables, Local Variables
scope, Python Scope Basics
variable name rules, Variable Name Rules, Names have no type, but objects do
W
websites, Future Directions
while loop, Sorting Keys: for Loops, Common Coding Gotchas
versus for loops, Common Coding Gotchas
while statement, while and for Loops, Counter Loops: while and range
range function and, Counter Loops: while and range
Windows, The Interactive Prompt, Running Files with Command Lines, Using Command Lines and Files, Clicking File Icons, Clicking Icons on Windows, The input Trick, IDLE Basics, The Standard Manual Set
automatic file extensions, Using Command Lines and Files
executable files, displaying output, The input Trick
icon clicks for program initiation, Clicking Icons on Windows
IDLE user interface and, IDLE Basics
program files, opening with icons, Clicking File Icons
Python command line, starting in, The Interactive Prompt
Python files, running in, Running Files with Command Lines
Python standard manual set, The Standard Manual Set
Windows Notepad, file encoding specification, Handling the BOM in 3.0
with statement, Decimal context manager, The try/finally Statement
with/as extension, Python’s Statements
with/as statement, Termination Actions, with/as Context Managers, The Context Management Protocol, Basic Usage, The Context Management Protocol
context management protocol, The Context Management Protocol
usage, Basic Usage
wrapper classes, OOP and Delegation: “Wrapper” Objects
wrapper objects, Managing Calls and Instances
wrappers, catching exceptions with, What Should Be Wrapped
write method, Files in Action
X
XML, XML Parsing Tools
Y
yield expression, Python’s Statements
yield operator, Python Expression Operators
yield statement, Coding Functions, def Statements, Iteration protocol integration
usage in generators, Iteration protocol integration
Z
zip, Other Iteration Contexts, Other Iteration Contexts
zip function, Parallel Traversals: zip and map, Dictionary construction with zip
dictionary construction using, Dictionary construction with zip
zip iterator, The map, zip, and filter Iterators
ZODB object-oriented database system, Future Directions
About the Author
Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He is also the author of O'Reilly's Programming Python, 3rd Edition and Python Pocket Reference, 3rd Edition. Mark began teaching Python classes in 1997, and has instructed more than 200 Python training sessions as of 2007. Mark also has BS and MS degrees in Computer Science and 25 years of software development experience.Whenever Mark gets a break from spreading the Python word, he leads an ordinary, average life with his kids in Colorado. Mark can be reached by email at , or on the web at http://www.rmi.net/~lutz.