batch downloading file in python
来源:互联网 发布:php5.6 mysql不支持 编辑:程序博客网 时间:2024/05/22 05:19
import urllib.request url_prefix = 'http://nptel.ac.in/courses/111103021/'for i in range(1,42): url = url_prefix + str(i) print("downloading page " + str(i)) urllib.request.urlretrieve(url, str(i) + ".pdf")//第二个参数表示存储文件名字
0 0
- batch downloading file in python
- dos batch file in windows
- record start/stop time in batch file
- Filename parsing in batch file and more idioms
- File Management in Python
- write file in python
- file handling in python
- Read File in Python
- File Input/Output in Python
- open file in python demo
- Play wave file in python
- batch change file name
- Batch File Redirection
- File batch processing
- BATCH file 与Makefile 之Batch篇
- batch insert in PostgreSQL
- PreparedStatement in Batch Mode
- Batch Forecasting in R
- HTTP中的重定向和请求转发的区别
- kettle 5.1.0 连接 Hadoop hive 2 (hive 1.2.1)
- 杭电ACM----2018母牛的故事
- Servlet简介
- 本地上传文件大小不受限制,但发布到服务器只能传1M以内的
- batch downloading file in python
- 哪里跌倒哪里爬起来 总结下STL的内部实现和特点
- Mac 配置为https服务器
- php中ereg() ,preg_match() 有啥区别?
- Ehcache 整合Spring 使用页面、对象缓存
- 动态规划C++::杭电ACM1003
- HTTP协议中PUT和POST使用区别
- JavaScript事件机制详解
- Java制作证书的工具keytool用法总结