摘要:
Pandas类 用pandas导出豆瓣评论 import requests import pandas as pd from bs4 import BeautifulSoup link = 'https://movie.douban.com/subject/36208094/comments' he 阅读全文
摘要:
操作下拉问题 这两篇主要是解决同一个问题:浏览器操作下拉问题 第一篇下拉显示更多内容 from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdrive 阅读全文
摘要:
正则就是用一些具有特殊含义的符号组合到一起(称为正则表达式)来描述字符或者字符串的方法。或者说:正则就是用来描述一类事物的规则。(在Python中)它内嵌在Python中,并通过 re 模块实现。 import re \w与\W \w匹配字母数字及下划线 re.findall('\w','hello 阅读全文