摘要: 1 from bs4 import BeautifulSoup 2 import requests 3 import html.parser 4 from openpyxl import Workbook,load_workbook 5 import os 6 class DouBan(object): 7 8 def __init__(self): 9 ... 阅读全文
posted @ 2017-09-04 17:34 RoyFans 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: 一、去除空格 二、替换 replace("space","") 用replace("\n", ""),后边的串替换掉前边的 阅读全文
posted @ 2017-09-04 15:06 RoyFans 阅读(56627) 评论(0) 推荐(2) 编辑