pip安裝python第三方庫時,下載很慢,等待時間較長,最終可能下載失敗。
推薦使用清華鏡像:https://pypi.tuna.tsinghua.edu.cn/simple
通常,pip安裝方法:pip install lxml
使用清華鏡像的下載:pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple
快速下載,安裝。
pip安裝python第三方庫時,下載很慢,等待時間較長,最終可能下載失敗。
推薦使用清華鏡像:https://pypi.tuna.tsinghua.edu.cn/simple
通常,pip安裝方法:pip install lxml
使用清華鏡像的下載:pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple
快速下載,安裝。
1.while循環的格式 while 條件: 條件滿足時,做的事情1 條件滿足時,做的事情2 條件滿足時,做的事情3 ...(省略)... demo