1 min read

Python Standard Library

The Python Standard Library is a collection of modules that are included with Python. It provides a wide range of functionality, from working with strings and numbers to creating graphical user interfaces.

Some Important Modules

  • os: Provides a way of using operating system dependent functionality.
  • sys: Provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter.
  • math: Provides access to the mathematical functions defined by the C standard.
  • datetime: Supplies classes for manipulating dates and times.
  • json: Provides an easy way to encode and decode JSON data.
  • re: Provides regular expression matching operations.