学习内容包括
1. 正则表达式
2. Urllib2操作
3. 文件操作
@python
# -*- coding: utf-8 -*-
import api
import os
if os.path.exists('url.txt'):
if os.path.exists('download'):
api.get_url()
else: os.makedirs('download')
else:
print '请在url.txt添加url'