Python
shell 自动补全
# python shell auto completer, add this to env:
# export PYTHONSTARTUP=~/.startup.py
try:
import readline
import rlcompleter
readline.parse_and_bind("tab: complete")
except:
pass
创建虚拟环境
# create a virtual env
python -m venv venv
# enable virtual env
source ./venv/bin/activate
# check
which pip