0 votes
in Python by
What is module and package in Python?

2 Answers

0 votes
by

In Python, module is the way to structure program. Each Python program file is a module, which imports other modules like objects and attributes.

The folder of Python program is a package of modules. A package can have modules or subfolders.

0 votes
by

Modules are the way to structure a program. Each Python program file is a module, importing other attributes and objects. The folder of a program is a package of modules. A package can have modules or subfolders.

Related questions

0 votes
asked Sep 21, 2021 in Python by sharadyadav1986
0 votes
asked Jan 1, 2021 in Python by SakshiSharma
...