What is module and package in Python?
Answer / Hrishikesh Kumar
In Python, a module is a file containing Python definitions and statements. A package is a directory that contains multiple Python modules and sub-packages. Modules are imported using the 'import' statement, while packages are imported using the 'import' statement followed by the name of the package.
| Is This Answer Correct ? | 0 Yes | 0 No |
Give the output of this example: a[3] if a=[1,4,6,7,9,66,4,94].
What does eval mean in python?
Explain garbage collection with python?
How are arguments passed by value or by reference?
What are your weaknesses examples?
How do you break a while loop?
How to use of return keywords in python?
How do you make 3d plots/visualizations using numpy/scipy?
Does python allow you to program in a structured style?
What is self in oop of python?
Which python course is best?
How is python executed?