摘要:
(1)数据库类import pymysqlclass MyCoonect(object): def __init__(self, host, port, user, passwd, db, charset='utf8'): self.__host = host self.port = port se 阅读全文
摘要:
r = requests.get(url).contentf = open(r'F:\test\a%s'%i, 'wb')f.write(r) 阅读全文