This third revision of Manning's popular The Quick Python Book offers a clear, crisp updated introduction to the elegant Python programming language and its famously easy-to-read syntax. Written for programmers new to Python, this latest edition includes new exercises throughout. It 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 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 current Python development landscape, including Pythonic best practices, data extraction and cleaning, database access, and web frameworks.
Part 1: Starting out
1. About Python
1.1. Why should I use Python?
1.2. What Python does well
1.2.1. Python is easy to use
1.2.2. Python is expressive
1.2.3. Python is readable
1.2.4. Python is complete - "batteries included"
1.2.5. Python is cross-platform
1.2.6. Python is free
1.3. What Python doesn't do as well
1.3.1. Python is not the fastest language
1.3.2. Python doesn't have the most libraries
1.3.3. Python doesn't check variable types at compile time
1.3.4. Python doesn't have much mobile support
1.3.5. Python doesn't use multiple processors well
1.4. Why learn Python 3?
1.5. Summary
2. Getting started
2.1. Installing Python
2.2. IDLE and the basic interactive mode
2.2.1. The basic interactive mode
2.2.2. The IDLE integrated development environment
2.2.3. Choosing between basic interactive mode and IDLE
2.3. Using IDLE's Python Shell window
2.4. Hello, world
2.5. Using the interactive prompt to explore Python
2.6. Summary
3. The Quick Python overview
3.1. Python synopsis
3.2. Built-in data types
3.2.1. Numbers
3.2.2. Lists
3.2.3. Tuples
3.2.4. Strings
3.2.5. Dictionaries
3.2.6. Sets
3.2.7. File objects
3.3. Control flow structures
3.3.1. Boolean values and expressions
3.3.2. The if-elif-else statement
3.3.3. The while loop
3.3.4. The for loop
3.3.5. Function definition
3.3.6. Exceptions
3.3.7. Context handling using with
3.4. Module creation
3.5. Object-oriented programming
3.6. Summary
Part 2: The essentials
4. The absolute basics
5. Lists, tuples, and sets
6. Strings
7. Dictionaries
8. Control flow
9. Functions
10. Modules and scoping rules
11. Python programs
12. Using the filesystem
13. Reading and writing files
14. Exceptions
Part 3: Advanced language features
15. Classes and object-oriented programming
16. Regular expressions
17. Data types as objects
18. Packages
19. Using Python libraries
Part 4: Data handling
20. Handling Files
21. Processing Data Files
22. Data over the Network
23. Databases
24. Manipulating Data
- MEAP combo $39.99 pBook + eBook
- MEAP eBook $31.99 pdf + ePub + kindle
FREE domestic shipping on three or more pBooks