0 votes
in Python by
What are Python modules?

1 Answer

0 votes
by

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
0 votes
asked Oct 14, 2021 in Python by rajeshsharma
...