Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
python3 的 pycurl 怎么判断下载完成,并开始一个下载
angel725
·
Sep 11, 2018
· 4062 views
This topic created in 2936 days ago, the information mentioned may be changed or developed.
几十个 jar 包。如果存在就跳过,否则下载。
python3 的 pycurl 怎么判断当前文件已经下载完成,
然后开始下载下一个。
下载
Python3
PyCURL
jar
3 replies
•
2018-09-27 09:38:37 +08:00
1
wjidea
Sep 12, 2018
import os
os.path.isfile()
2
angel725
OP
Sep 12, 2018
isfile 不是判断是否是文件吗。
用它判断下载完了是什么逻辑
3
nbboy
Sep 27, 2018
http://pycurl.io/docs/latest/quickstart.html#retrieving-a-network-resource
阻塞下载的,成功了或者失败就执行下面代码呀。最多你检测一下文件是否完整。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2637 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: f77a3b4c · 26ms ·
UTC 04:11
·
PVG 12:11
·
LAX 21:11
·
JFK 00:11
♥ Do have faith in what you're doing.
❯