in Python by (23.9k points)
What are Python modules?

1 Answer

0 votes
by (23.9k points)

A file containing Python code like functions and variables is a Python module. A Python module is an executable file with a .py extension.

Python has built-in modules some of which are:

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

Related questions

0 votes
asked May 17, 2020 in Python by SakshiSharma (32.2k points)
0 votes
...