Python Tutorial 24 --- "Using Python External & Built In Modules"
Python Tutorial 24 --- "Using Python External & Built In Modules" DOC: In Python, a module can be defined as a file containing a runnable python code. The extension used by modules in Python is .py. Hence any simple file containing Python code can be considered a module if its extension is .py. The file and module names are the same; hence we can call a module only by name without using the extension. Along with this, a module can define functions, classes, and variables. There are two types of modules. Built-in External Built-in Modules: Built-in modules are already installed in Python by default. We can import a module in Python by using the import statement along with the specific module name. We can also access the built-in module files and can read the Python code present in them. Newly integrated modules are added in Python witch each update. Some important modules names are as follows ...