Q. What is a package? How is a package different from module?
Answer =
Package: A package is a directory that contains sub-packages and modules in it along with some special files such as __init__.py.
While A module is a file with some Python code and is saved with a .py extension.
While A module is a file with some Python code and is saved with a .py extension.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )