Styrow.dev
Question 25 of 45
Python Topic: General medium

What is module and package in Python?

Question

What is module and package in Python?

Answer

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.