/Modern-Python-Standard-Library-Cookbook

Modern Python Standard Library Cookbook, published by Packt

Primary LanguagePythonMIT LicenseMIT

Modern Python Standard Library Cookbook

Modern Python Standard Library Cookbook

This is the code repository for Modern Python Standard Library Cookbook, published by Packt.

Build optimized applications in Python by smartly implementing the standard library

What is this book about?

The Python 3 Standard Library is a vast array of modules that you can use for developing various kinds of applications. It contains an exhaustive list of libraries, and this book will help you choose the best one to address specific programming problems in Python.

This book covers the following exciting features: Store multiple values per key in associative containers Create interactive character-based user interfaces Work with native time and display data for your time zone Read/write SGML family languages, both as a SAX and DOM parser to meet file sizes and other requirements Group equivalent items using itertools and sorted features together Use partials to create unary functions out of multi-argument functions Implement hashing algorithms to store passwords in a safe way

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

for word in 'hello world this is a very nice day'.split():
    if word in counts:
        counts[word] += 1

Following is what you need for this book: This book is well suited for developers who want to write expressive, highly responsive, manageable, scalable, and resilient code in Python. Prior programming knowledge of Python is expected.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

Software and Hardware List

Chapter Software required OS required
1-14 Python 3.5 or 3.6 Linux, BSD, Windows Vista or newer or macOS

Related products

Get to Know the Author

Alessandro Molina has been a Python developer since 2001, and has always been interested in Python as a web development platform. He has worked as a CTO and a team leader of Python teams for the past 10 years and is currently the core developer of the TurboGears2 web framework and maintainer of Beaker Caching/Session framework. He authored the DEPOT file storage framework and the DukPy JavaScript interpreter for Python and has collaborated with various Python projects related to web development, such as FormEncode, ToscaWidgets, and the Ming MongoDB ORM.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788830829