Q. What is a Python module? What is its significance?


Answer =


A "module" is a chunk of Python code that exists in its own (.py ) file and is intended to be used by Python code outside itself.
Modules allow one to bundle together code in a form in which it can easily be used later.
The Modules can be "imported" in other programs so the functions and other definitions in imported modules become available to code that imports them.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post