摘要: import MySQLdbdef creatTB(cursor): sql = "CREATE TABLE student_info(ID int, "\ "name varchar(255)," \ "sex varchar(12)," \ "subject_1 varchar(255)," \ 阅读全文
posted @ 2019-11-11 23:15 Roy在路上 阅读(169) 评论(0) 推荐(0)
摘要: # coding=utf-8import requestsfrom lxml import etree# 请求网页获取网页信息responce = requests.get("https://ibaotu.com/shipin/")# 整理网页文本对象html = etree.HTML(respon 阅读全文
posted @ 2019-08-30 17:38 Roy在路上 阅读(440) 评论(0) 推荐(0)