venv module:
https://docs.python.org/3/library/venv.html
A virtual environment is an environment where all new installed packages are isolated and independent from the Python base installation.
Within the virtual environment you can use packages that have already been installed in the Python base installation.
To create a virtual environment, you need run the "
venv" virtual environment module from a specific location of your project.
You need to provide a location and name for the virtual environment.
Create project directory:
Create virtual environment:
Directory structure:
Project structure best practices: