摘要:
作业①: 结果展示: 代码部分: import sqlite3 import requests from bs4 import BeautifulSoup # 连接到SQLite数据库 conn = sqlite3.connect('weather.db') c = conn.cursor() # 阅读全文
摘要:
作业①: 结果展示: 代码部分: import requests from bs4 import BeautifulSoup from tabulate import tabulate import re # 目标URL url = "http://www.shanghairanking.cn/ra 阅读全文
摘要:
作业①: 结果展示: 代码部分: import sqlite3 import requests from bs4 import BeautifulSoup # 连接到SQLite数据库 conn = sqlite3.connect('weather.db') c = conn.cursor() # 阅读全文
摘要:
作业①: 结果展示: 代码部分: import requests from bs4 import BeautifulSoup from tabulate import tabulate import re # 目标URL url = "http://www.shanghairanking.cn/ra 阅读全文