How Many Modules in Python?

The Python standard library contains well over 200 modules, although the exact number varies between distributions.

What are the modules in Python?

In Python, Modules are simply files with the “. py” extension containing Python code that can be imported inside another Python Program. In simple terms, we can consider a module to be the same as a code library or a file that contains a set of functions that you want to include in your application.

What are the standard Python modules?

The Python Standard Library
  • Truth Value Testing.
  • Boolean Operations — and , or , not.
  • Comparisons.
  • Numeric Types — int , float , complex.
  • Iterator Types.
  • Sequence Types — list , tuple , range.
  • Text Sequence Type — str.
  • Binary Sequence Types — bytes , bytearray , memoryview.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.