A module is a file containing Python definitions and statements.
Module Types:
Built-in Modules
User-Defined Modules
Definitions from a module can be imported into other modules or into the main module.
Every module has a global variable _ _name_ _ as a string.
Before using any module, first, we have to import that module.
There are different ways to import
1. import module_name
2. from module_name import name(s)
3. from module_name import name as alt_name
4. import module_name as alt_name
Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.
advantages to modularizing code in a large application:
Simplicity
Maintainability
Reusability
So, watch the full video to get understand.
To support me please subscribe to my channel
https://www.youtube.com/daneyallari
https://www.prowessapps.in/python
Write your queries at:
daneyallari@gmail.com
prowessapps.in@gmail.com
Please like, comment, share and subscribe.
#daneyallari #python #pythonByDaneyalLari