in Python by
What are python modules? Name some commonly used built-in modules in Python?

1 Answer

0 votes
by

Python modules are files containing Python code that can be either function classes or variables. These modules are Python files having a .py extension. Modules can include a set of functions, classes, or variables that are both defined and implemented. You can import and initialize a module using the import statement, learning python tutorial will let us know more about python modules.

Here are some of the commonly used built-in modules in Python:

  1. os
  2. sys
  3. math
  4. random
  5. data time
  6. JSON
...