By Kevin Williams

Create A Virtual Environment

python -m venv ./venv
cd ./venv/Scripts/
activate
deactivate

Run a script

python script.py

Dependencies

Create a requirements.txt file containing all of the dependencies. Then install with

pip install -r requirements.txt

Kevin Williams • 44 Articles

A full stack software engineer since 2018, specializing in Azure and .Net.

View Articles