Description
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutzs popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. Its an ideal way to begin, whether youre 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 linesplus all other releases in common use today. Youll also learn some advanced language features that recently have become more common in Python code.
- Explore Pythons major built-in object types such as numbers, lists, and dictionaries
- Create and process objects with Python statements, and learn Pythons general syntax model
- Use functions to avoid code redundancy and package code for reuse
- Organize statements, functions, and other tools into larger components with modules
- Dive into classes: Pythons object-oriented programming tool for structuring code
- Write large programs with Pythons exception-handling model and development tools
- Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing
About the Author
Mark Lutz?is a leading Python trainer, the author of Pythons earliest and best-selling texts, and a pioneering figure in the Python world.Mark is the author of the three OReilly books: Learning Python, Programming Python, and Python Pocket Reference, all currently in fourth or fifth editions. He has been using and promoting Python since 1992, started writing Python books in 1995, and began teaching Python classes in 1997. As of Spring 2013, Mark has instructed 260 Python training sessions, taught roughly 4,000 students in live classes, and written Python books that have sold 400,000 units and been translated to at least a dozen languages.
Together, his two decades of Python efforts have helped to establish it as one of the most widely used programming languages in the world today. In addition, Mark has been in the software field for 30 years. He holds BS and MS degrees in computer science from the University of Wisconsin where he explored implementations of the Prolog language, and over his career has worked as a professional software developer on compilers, programming tools, scripting applications, and assorted client/server systems.
Table of Contents
1. Getting Started
Chapter 1 A Python Q&A Session
Chapter 2 How Python Runs Programs
Chapter 3 How You Run Programs
2. Types and Operations
Chapter 4 Introducing Python Object Types
Chapter 5 Numeric Types
Chapter 6 The Dynamic Typing Interlude
Chapter 7 String Fundamentals
Chapter 8 Lists and Dictionaries
Chapter 9 Tuples, Files, and Everything Else
3. Statements and Syntax
Chapter 10 Introducing Python Statements
Chapter 11 Assignments, Expressions, and Prints
Chapter 12 if Tests and Syntax Rules
Chapter 13 while and for Loops
Chapter 14 Iterations and Comprehensions
Chapter 15 The Documentation Interlude
4. Functions and Generators
Chapter 16 Function Basics
Chapter 17 Scopes
Chapter 18 Arguments
Chapter 19 Advanced Function Topics
Chapter 20 Comprehensions and Generations
Chapter 21 The Benchmarking Interlude
5. Modules and Packages
Chapter 22 Modules: The Big Picture
Chapter 23 Module Coding Basics
Chapter 24 Module Packages
Chapter 25 Advanced Module Topics
6. Classes and OOP
Chapter 26 OOP: The Big Picture
Chapter 27 Class Coding Basics
Chapter 28 A More Realistic Example
Chapter 29 Class Coding Details
Chapter 30 Operator Overloading
Chapter 31 Designing with Classes
Chapter 32 Advanced Class Topics
7. Exceptions and Tools
Chapter 33 Exception Basics
Chapter 34 Exception Coding Details
Chapter 35 Exception Objects
Chapter 36 Designing with Exceptions
8. Advanced Topics
Chapter 37 Unicode and Byte Strings
Chapter 38 Managed Attributes
Chapter 39 Decorators
Chapter 41 All Good Things
9. Appendixes
Author: MARK LUTZ
Publisher: MARK LUTZ
ISBN-13: 9.78935E+12
Language: ENGLISH
Binding: PAPERBACK
No. Of Pages: 1540
Country of Origin: India
Reviews
There are no reviews yet.