What is the difference between module and package in python?
Answers
Answered by
2
A module is just a python file that you can use in your program by importing it using the 'import' or 'from module import var,function' statements.
More at Modules.
A package is basically a way to organize your code. Packages let you import directories on your computer into your programs using the 'import' or 'from import' statements. A directory on your system can become a package if it contains an empty __init__.py file.
More at Modules.
A package is basically a way to organize your code. Packages let you import directories on your computer into your programs using the 'import' or 'from import' statements. A directory on your system can become a package if it contains an empty __init__.py file.
Answered by
0
Answer:
Explanation:
Sublimation is the conversion between the solid and the gaseous phases of matter, with no intermediate liquid stage. ... The opposite of sublimation is "deposition", where water vapor changes directly into ice—such a snowflakes and frost.
Similar questions