PythonBaby

导航

07 2022 档案

【Scrapy】settings
摘要:settings.py # Scrapy settings for ormspider project # # For simplicity, this file contains only settings considered important or # commonly used. You 阅读全文

posted @ 2022-07-31 20:34 PythonBaby 阅读(61) 评论(0) 推荐(0)

Sublime Text取消冒号自动提示
摘要:每次一输完冒号就弹出一堆的提示(如下图),好烦。。 这是因为安装了SublimeCodeIntel插件 解决方法: 1.打开SublimeCodeIntel插件设置 2.删除或注释codeintel_enabled_languages中你想取消提示的语言 阅读全文

posted @ 2022-07-28 16:44 PythonBaby 阅读(190) 评论(0) 推荐(0)

爬虫-国内疫情数据统计
摘要:import requests import re import json from openpyxl import Workbook def export(page_source, id='getAreaStat'): re_script = re.search(f'script id=\"{id 阅读全文

posted @ 2022-07-24 20:05 PythonBaby 阅读(24) 评论(0) 推荐(0)