如何区别调用python2和python3

.py调用

`py -2 hello.py`
`py -3 hello.py`

使用pip

py -2 -m pip install XXXX
py -3 -m pip install XXXX
py -2 -m pip install -r C:\Users\Young\Desktop\abc.txt
posted @ 2021-04-14 17:03  零哭谷  阅读(57)  评论(0编辑  收藏  举报