Learning Python: Powerful Object-Oriented ProgrammingGet a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages. Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.
|
Other editions - View all
Common terms and phrases
__init__ __iter__ __name__ __repr__ assignment attributes automatically binary book’s built-in function byte code c:\code Chapter class statement command line common concatenation created default defined dictionary display docstrings enclosing example explore expression fetch floating-point format function call global header Here’s implement import indentation inheritance integer interactive prompt interface iterable object iteration protocol JSON keyword arguments lambda language later list comprehensions loop manually method calls module file module search path module’s multiple mutable mutable objects namespace package nested nested function nonlocal normal object types operator overloading optional output parentheses pass print(x prior PyDoc PyPy Python 3.X Python code Python language Python programs recursive reference reload result scope script sequence simple slice spam standard library string superclass syntax sys.path tkinter tuple Unicode variable we’ll Windows