Skip to content

Instantly share code, notes, and snippets.

View mihaidusmanu's full-sized avatar

Mihai Dusmanu mihaidusmanu

View GitHub Profile
# python venv
VENV_PATH=/home/dusmanum/.venvs
function create_venv () {
if [[ $# -ne 1 ]]; then
echo "Error: Expected env name as parameter"
return
fi
echo "Creating env $1 in $VENV_PATH/$1"
python -m venv $VENV_PATH/$1
}