Q. How do you create your own package in Python?
Answer =
We know that a package may contain sub-packages and modules. A module is nothing but Python code. To create a package of our own, we create a directory and create a file __init__.py in it. We leave it empty. Then, in that package, we create a module(s) with whatever code we want.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )