Video description
The quickest way to learn the basics of Python.
Massimo Perga, Microsoft
The Quick Python Book offers a clear, crisp introduction to the elegant Python programming language and its famously easy-to-read syntax. Made for programmers new to Python, this edition covers features common to other languages concisely, while introducing Python's comprehensive standard functions library and unique features in detail.
After exploring Python's syntax, control flow, and basic data structures, the book shows how to create, test, and deploy full applications and larger code libraries. It addresses established Python features as well as the advanced object-oriented options available in Python 3. Along the way, you'll survey the Python development landscape, including GUI programming, testing, database access, and web frameworks.
Inside:- Concepts and Python 3 features
- Regular expressions and testing
- Python tools
- All the Python you need—nothing you don't
Second edition author Naomi Ceder is Director of Technology at the Canterbury School in Fort Wayne, Indiana, where she teaches and uses Python. The first edition was written by Daryl Harms and Kenneth McDonald.
This is my favorite Python book...a competent way into serious Python programming.
Edmon Begoli, Oak Ridge National Laboratory
Like Python itself, its emphasis is on readability and rapid development.
David McWhirter, Cranberryink
Python coders will love this nifty book.
Sumit Pal, Leapfrogrx
NARRATED BY MARK THOMAS
Table of Contents
PART 1 STARTING OUT
Chapter 1. About Python
Chapter 1. Python is complete—“batteries included”
Chapter 1. What Python doesn’t do as well
Chapter 2. The IDLE integrated development environment
Chapter 2. Getting started
Chapter 3. The Quick Python overview
Chapter 3. Tuples
Chapter 3. The for loop
PART 2 THE ESSENTIALS
Chapter 4. The absolute basics
Chapter 4. Numbers
Chapter 5. Lists, tuples, and sets
Chapter 5. Sorting lists
Chapter 5. Tuples
Chapter 6. Strings
Chapter 6. String methods
Chapter 6. Modifying strings
Chapter 6. Converting from objects to strings
Chapter 6. Formatting strings with %
Chapter 7. Dictionaries
Chapter 7. Word counting
Chapter 8. Control flow
Chapter 8. List and dictionary comprehensions
Chapter 8. Boolean values and expressions
Chapter 9. Functions
Chapter 9. Local, nonlocal, and global variables
Chapter 10. Modules and scoping rules
Chapter 10. The module search path
Chapter 10. Python scoping rules and namespaces
Chapter 11. Python programs
Chapter 11. Making a script directly executable on UNIX
Chapter 11. Scripts on Windows vs. scripts on UNIX
Chapter 11. Distributing Python applications
Chapter 12. Using the filesystem
Chapter 12. The current working directory
Chapter 12. Getting information about files
Chapter 13. Reading and writing files
Chapter 13. Screen input/output and redirection
Chapter 13. Pickling objects into files
Chapter 14. Exceptions
Chapter 14. Exceptions in Python
Chapter 14. Debugging programs with the assert statement
Chapter 15. Classes and object-oriented programming
Chapter 15. Class variables
Chapter 15. Inheritance
Chapter 15. Using @property for more flexible instance variables
Chapter 15. Destructors and memory management
Chapter 16. Graphical user interfaces
Chapter 16. Principles of Tkinter
Chapter 16. Creating widgets
Chapter 16. What else can Tkinter do?
PART 3 ADVANCED LANGUAGE FEATURES
Chapter 17. Regular expressions
Chapter 17. Extracting matched text from strings
Chapter 18. Packages
Chapter 18. import statements within packages
Chapter 19. Data types as objects
Chapter 20. Advanced object-oriented features
Chapter 20. Giving an object full list capability
Chapter 20. Metaclasses
PART 4 WHERE CAN YOU GO FROM HERE?
Chapter 21. Testing your code made easy(-er)
Chapter 21 Using unit tests to test everything, every time
Chapter 22. Moving from Python 2 to Python 3
Chapter 22. Using 2to3 to convert the code
Chapter 23. Using Python libraries
Chapter 23. Installing Python libraries using setup.py
Chapter 24. Network, web, and database programming
Chapter 24. Creating a Python web application
Chapter 24. Sample project—creating a message wall