超级开心啊!!!!!!!!!!!!!
win10
打开cmd
Installing with get-pip.py
To install pip, securely download get-pip.py. [1]:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Then run the following:
python get-pip.py
先复制curl这行 执行完复制
python get-pip.py
然后执行即可
有个好玩的进度条库
输入 pip install Tqdm
即可
在pycharm里新建projec 新建python file
输入
import time
from tqdm import tqdm
pbar = tqdm(["a", "b", "c", "d"])
for char in pbar:
# 设置描述
pbar.set_description("Processing %s" % char)
time.sleep(10)
run 就可以看看效果了