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

READINGS

Copyright © lowzj all right reserved,powered by GitbookLast Modified: 2023-03-12 01:06

results matching ""

    No results matching ""