Python Notes

Virtual Environments

Create a Python virtual environment in the current directory on a Linux system

python3 -m venv env

To enter the environment from the directory

source env/bin/activate

To exit the environment

deactivate