Python Cookbook 2nd Edition pdf free ebook download
Python Cookbook 2nd Edition pdf free ebook download
Author:
Alex Marteli
Book Description:
On the off chance that you need help composing projects in Python 3, or need to upgrade more established Python 2 code, this book is simply the ticket. Stuffed with commonsense formulas composed and tried with Python 3.3, this extraordinary cookbook is for experienced Python developers who need to concentrate on present day instruments and colloquialisms.
Inside, you’ll discover complete formulas for more than twelve themes, covering the center Python dialect and in addition assignments normal to a wide mixture of utilization areas. Every formula contains code tests you can use in your tasks immediately, alongside an examination about how and why the arrangement functions.
Subjects include:
Information Structures and Algorithms
Strings and Text
Numbers, Dates, and Times
Iterators and Generators
Documents and I/O
Information Encoding and Processing
Capacities
Classes and Objects
Metaprogramming
Modules and Packages
System and Web Programming
Concurrency
Utility Scripting and System Administration
Testing, Debugging, and Exceptions
C Extensions
Contents:
1. Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3. Time and Money . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4. Python Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
5. Searching and Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
6. Object-Oriented Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
7. Persistence and Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
8. Debugging and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
9. Processes, Threads, and Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
10. System Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
11. User Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
12. Processing XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
13. Network Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
14. Web Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
15. Distributed Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
16. Programs About Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584
17. Extending and Embedding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616
18. Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
19. Iterators and Generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
20. Descriptors, Decorators, and Metaclasses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
Python Cookbook 2nd Edition pdf free ebook download




