This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
} |
OlderNewer