How-to articles, tricks, and solutions about PYTHON-PACKAGING
How do I import other Python files?
To import a Python file, you can use the import statement.
What is __init__.py for?
__init__.py is a special Python file that is used to indicate that the directory it is present in is a Python package.
What is setup.py?
setup.py is a Python script used to build and install Python packages.
What is the easiest way to remove all packages installed by pip?
The easiest way to remove all packages installed by pip is to use the command pip freeze to get a list of all installed packages, and then pipe that list to pip uninstall -y, like this: