Advertisements
Advertisements
Question
What is the use of modules?
Short/Brief Note
Advertisements
Solution
We use modules to break down large programs into small manageable and organized files. Furthermore, modules provide the reusability of code. We can define our most used functions in a module and import them, instead of copying their definitions into different programs.
shaalaa.com
Python Program to Import C++
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
The module which allows you to interface with the Windows operating system is ______
Identify the module, operator, definition name for the following welcome.display()?
What is sys.argv? What does it contain?
What is the purpose of the sys, os, getopt module in Python? Explain.
Write the syntax for getopt() and explain its arguments and return values?
