difference between Package and Module in Python?
Answers
Answered by
0
Answer:
A package is a collection of Python modules: while a module is a single Python file, a package is a directory of Python modules containing an additional __init__.py file, to distinguish a package from a directory that just happens to contain a bunch of Python scripts.
Similar questions
Math,
1 month ago
Social Sciences,
1 month ago
Physics,
1 month ago
Math,
3 months ago
Accountancy,
3 months ago
Chemistry,
11 months ago
Math,
11 months ago