Modules in Python✌
MODULES IN PYTHON Modules are simply a ‘ program logic’ or a ‘python script’ that can be used for variety of applications or functions . We can declare functions, classes etc in a module. A module allows you to logically organize your Python code. Grouping related code into a module makes the code easier to understand and use. A module is a Python object with arbitrarily named attributes that you can bind and reference. Consider a module to be the same as a code library. A file containing a set of functions you want to include in your application. Modules refer to a file containing Python statements and definitions . A file containing Python code, for example: test.py , is called a module , and it is advisable to always use lower case letters in user-defined module name . We use modules to break down large programs into small manageable and organized files. Modules provide re-usability of code. We can define our most used funct...