摘要: import numpy as np import matplotlib.pyplot as plt 设置x的范围:0到10,取500个点使曲线平滑 x = np.linspace(0, 10, 500) 计算三个函数值 y1 = x ** 2 # y1 = x² y2 = np.cos(2 * x 阅读全文
posted @ 2025-06-04 22:53 曹明阳 阅读(8) 评论(0) 推荐(0)
摘要: import requests from bs4 import BeautifulSoup import time import random import jieba from collections import Counter import re 更完善的请求头 headers = { 'Us 阅读全文
posted @ 2025-06-04 22:52 曹明阳 阅读(11) 评论(0) 推荐(0)