payilagam

Day 8 – Modules

Day 8 – Modules

Modules: In Python, a module is a file containing Python definitions and statements. Modules allow you to organize your code into reusable pieces and help with maintaining and structuring your programs. A module is essentially a Python file (.py) Python provides built-in modules (like math, os, etc.). You can create your own custom modules. Modules have special variables: __name__: The name of the module. __file__: The file path of the module. __doc__ : The documentation string of a module. Enter fullscreen mode Exit fullscreen mode In Python, identifiers starting and ending with double underscores (like name, doc, etc.) are called…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.