摘要:
import matplotlib.pyplot as plt import seaborn as sns import pandas as pd # 简单的折线图绘制 # x = [1, 2 ,3 ,4, 5] # y = [1, 4, 9, 16, 25] # plt.plot(x, y, li 阅读全文
摘要:
# 本程序为学习代码,成功爬取了'梨视频'网站的全部视频文件,并保存在video文件夹 import os import re import requests def getHTMLText(url): try: r=requests.get(url) r.raise_for_status() r. 阅读全文
摘要:
# 本程序为爬虫学习代码,成功爬取了漫微网站上的全部图片内容 import re import os import requests def getHTMLText(url): try: r=requests.get(url) r.raise_for_status() r.encoding=r.ap 阅读全文