Synopses & Reviews
Synopsis
Master the Powerful Python 3 Standard Library through Real Code Examples
The Python 3 Standard Library contains hundreds of modules for interacting with the operating system, interpreter, and Internet--all extensively tested and ready to jump-start application development. Now, Python expert Doug Hellman introduces every major area of the Python 3.x library through concise source code and output examples. Hellman's examples fully demonstrate each feature, and are designed for easy learning and reuse.
You'll find practical code for working with text, data structures, algorithms, dates/times, math, the file system, persistence, data exchange, compression, archiving, crypto, processes/threads, networking, Internet capabilities, email, developer and language tools, the runtime, packages, and more. Each section fully covers one module, with links to additional resources, making this book an ideal tutorial and reference.
The Python 3 Standard Library by Example introduces Python 3.x's new libraries, significant functionality changes, and new layout and naming conventions. Hellmann also provides expert porting guidance for moving code from 2.x PSL modules to their Python 3.x equivalents.
Coverage includes
- Manipulating text with string, textwrap, re (regular expressions), and difflib
- Using data structures: enum, collections, array, heapq, queue, struct, copy, and more
- Implementing algorithms elegantly and concisely with functools, itertools, and contextlib
- Handling dates/times and advanced mathematical tasks
- Data exchange and persistence, including json, dbm, and sqlite
- Archiving and data compression
- Signing cryptographically and verifying message integrity
- Managing concurrent operations with processes and threads
- Using application "building blocks"
- Testing, debugging, compilation, profiling, language, import, and package tools
- Controlling interaction at runtime with interpreters or the environment
For both new and experienced Python developers, this guide will introduce whole new worlds of functionality and better, more powerful ways to get the job done. Normal 0 false false false EN-US X-NONE X-NONE
Synopsis
The Python Standard Library for Python 3.x contains hundreds of exceptionally useful modules, all extensively tested and ready to jump-start your application development.
The Python Standard Library by Example, Second Edition introduces virtually every important area of the Python 3.x library with concise, stand-alone examples designed for easy learning and reuse.
Python expert Doug Hellmann has fully updated his widely-praised first edition to reflect Python 3.x's major PSL changes. He introduces valuable new libraries, important revisions to functionality, new standardized layout and naming conventions, and more. He also provides indispensable porting guidance for moving code from specific 2.x PSL modules to Python 3.x and its corresponding libraries.
Building on his increasingly popular Python Module of the Week blog series, Hellmann focuses on "showing" not "telling," explaining code behavior through downloadable examples that fully demonstrate each feature. You'll find practical, up-to-date code for working with text, data structures, algorithms, dates/times, math, the file system, persistence, data exchange, compression, archiving, crypto, processes/threads, networking/Internet, email, developer/language tools, runtime, modules, packages, and much more.
Each chapter section covers one module, with a short introduction explaining its purpose, and a carefully organized discussion of features -- building from basic to complex, or following the order in which a programmer would use them in real software. Code sections concisely introduce and describe each example, show sample output, and present variations wherever helpful.
If you're new to Python, this book will quickly connect you to a whole new world of functionality. If you're an experienced Python developer, you'll discover powerful new solutions -- and better ways to use modules you've already tried.
Synopsis
Master the Powerful Python 3 Standard Library through Real Code Examples
"The genius of Doug's approach is that with 15 minutes per week, any motivated programmer can learn the Python Standard Library. Doug's guided tour will help you flip the switch to fully power-up Python's batteries."
-Raymond Hettinger, Distinguished Python Core Developer
The Python 3 Standard Library contains hundreds of modules for interacting with the operating system, interpreter, and Internet-all extensively tested and ready to jump-start application development. Now, Python expert Doug Hellmann introduces every major area of the Python 3.x library through concise source code and output examples. Hellmann's examples fully demonstrate each feature and are designed for easy learning and reuse.
You'll find practical code for working with text, data structures, algorithms, dates/times, math, the file system, persistence, data exchange, compression, archiving, crypto, processes/threads, networking, Internet capabilities, email, developer and language tools, the runtime, packages, and more. Each section fully covers one module, with links to additional resources, making this book an ideal tutorial and reference.
The Python 3 Standard Library by Example introduces Python 3.x's new libraries, significant functionality changes, and new layout and naming conventions. Hellmann also provides expert porting guidance for moving code from 2.x Python standard library modules to their Python 3.x equivalents.
- Manipulate text with string, textwrap, re (regular expressions), and difflib
- Use data structures: enum, collections, array, heapq, queue, struct, copy, and more
- Implement algorithms elegantly and concisely with functools, itertools, and contextlib
- Handle dates/times and advanced mathematical tasks
- Archive and data compression
- Understand data exchange and persistence, including json, dbm, and sqlite
- Sign and verify messages cryptographically
- Manage concurrent operations with processes and threads
- Test, debug, compile, profile, language, import, and package tools
- Control interaction at runtime with interpreters or the environment
Normal 0 false false false EN-US X-NONE X-NONE