activate virtual environment in python windows code example
Example: create a venv
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat
# Create the virtual environment.
python -m venv venv
# Activate the env.
venv\Scripts\activate.bat