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
· 4160 views
This topic created in 2974 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
wjidea
Sep 12, 2018
1
import os
os.path.isfile()
angel725
OP
Sep 12, 2018
2
isfile 不是判断是否是文件吗。
用它判断下载完了是什么逻辑
nbboy
Sep 27, 2018
3
http://pycurl.io/docs/latest/quickstart.html#retrieving-a-network-resource
阻塞下载的,成功了或者失败就执行下面代码呀。最多你检测一下文件是否完整。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
5103 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 07:39
·
PVG 15:39
·
LAX 23:39
·
JFK 02:39
♥ Do have faith in what you're doing.
❯