How to make a python package that does not need to be downloaded using pip and other ways.
I need to know how a package works in unity editor, so that i can use it in python.
How to make a python package that does not need to be downloaded using pip and other ways.
I need to know how a package works in unity editor, so that i can use it in python.
Packages are different from GUI. To create a package, make a folder for example - Package1
.Then make an __init__.py
file. You don't need to write anything in this. It can be empty. You just need to name an empty file as __init__.py
and then place it in the folder. __init__.py
is just used for python to detect that the folder is a package. Then, you can place many more sub-packages or modules in this package.
Refer to this Python Packages