Chapter 23. Using Python libraries

This chapter covers

  • Managing various data types—strings, numbers, and more
  • Manipulating files and storage
  • Accessing operating system services
  • Using internet protocols and formats
  • Developing and debugging tools
  • Accessing PyPI, a.k.a. “the Cheese Shop”
  • Installing Python libraries using setup.py

Python has long proclaimed that one of its key advantages is its “batteries included” philosophy. This means that a stock install of Python comes with a rich standard library that lets you handle a wide variety of situations without the need to install additional libraries. This chapter will give you a high-level survey of some of the contents of the standard library as well as some suggestions on finding and installing ...

Get The Quick Python Book, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.