摘要:
(2)用requests库的get()函数访问如360搜索网站20次,打印返回状态,text()内容,计算text()属性和content属性所返回网页内容的长度。学号:2022310143007 运行代码: import requestsdef crawl_360_search(): url = 阅读全文
posted @ 2023-12-24 15:50
蜡笔不小新*
阅读(11)
评论(0)
推荐(0)
摘要:
import pandas as pdimport tkinter as tkfrom tkinter import messageboxclass_info = pd.read_excel('students.xlsx') root = tk.Tk()root.title('班级信息收集')win 阅读全文
posted @ 2023-12-24 14:57
蜡笔不小新*
阅读(56)
评论(0)
推荐(0)
摘要:
c.羽毛球比赛规则 ((学号尾号为7,8,9同学必做及格题)) 阅读全文
posted @ 2023-12-24 14:46
蜡笔不小新*
阅读(109)
评论(0)
推荐(0)
摘要:
尾号为7,8,9,0的同学做,聊斋相关的分词,出现次数最高的20个。学号:2022310143007 ```import jieba # 读取文本文件path = "聊斋志异.txt"file = open(path, "r", encoding="utf-8")text = file.read() 阅读全文
posted @ 2023-12-24 14:27
蜡笔不小新*
阅读(42)
评论(0)
推荐(0)

浙公网安备 33010602011771号