Python Standard Library Essential Training

Python Standard Library Essential Training

3h 47mIntermediate2025-09-29

Authors

Joe Marini

Joe Marini

Senior Developer Advocate at Google, Developer

Course details

Python is a concise, elegant language. And part of what makes it so accessible and fun to use is the library of prebuilt code—known as the Python standard library—that’s distributed along with the language. In this course, learn how to leverage the modules in the Python standard library to make building applications with Python even easier. Discover how the Python standard library can help you solve common coding challenges and make it easier to process text, manipulate data, and work with files and directories. Plus, see how the library can help you work with numbers, calculate and format dates and times, parse HTML, and more.

Skills covered

PythonData AnalysisProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware DevelopmentOne-Off

Concepts

Introduction

  • Python - The batteries included language
  • Getting set up
  • Overview of the Python standard library

Processing Text

  • Python text processing
  • Basic string operations
  • Searching strings
  • String manipulation
  • String formatting
  • String interpolation
  • Using CoderPad
  • Solution - Work with strings

Manipulating Data

  • Using the sorted() function
  • Sorting with the key parameter
  • Sorting stability
  • Using operator functions
  • Using efficient arrays
  • Array bisection
  • Solution - Sorting complex objects

Files and Directories

  • Basic file operations
  • Creating temporary files and directories
  • Reading CSV files
  • Writing CSV files
  • Working with ZIP files
  • Working with configuration files

Working with Numbers

  • Working with random numbers
  • Random sequence operations
  • Cryptographic random operations
  • Temporary passwords and URLs
  • Generating unique identifiers
  • Statistics functions
  • Solution - Reservation code

Dates and Times

  • Basic dates and times
  • Date and time formatting
  • Calculating dates and times
  • Solution - Date comparison

Internet Operations

  • Working with URLs
  • Retrieving internet data
  • Parsing HTML
  • Using JSON
  • Solution - JSON

Conclusion

  • Next steps
80,000 Toman