摘要: import traceback import requests import time from bs4 import BeautifulSoup #from write_excel import OpenpyxlExcel from write_excel import OprationExcel class RequestInfo(object): def __init__(self): s 阅读全文
posted @ 2019-09-20 16:00 周围圆 阅读(293) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- """ Created on Mon Sep 9 10:07:50 2019 @author: Administrator """ import os import re import traceback import requests import openpyxl from bs4 import BeautifulSoup #from write 阅读全文
posted @ 2019-09-20 15:59 周围圆 阅读(145) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- """ Created on Wed Sep 18 14:05:24 2019 @author: Administrator """ import os import traceback #import openpyxl import xlrd import xlwt from xlutils.copy import copy # # # 操作.xl 阅读全文
posted @ 2019-09-20 15:59 周围圆 阅读(524) 评论(0) 推荐(0) 编辑
摘要: from functools import reduce # map函数,可以将一个列表内的元素代入指定的函数内,运算后生成一个新的列表 # 实现批量操作功能 list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9] def f1(x): return x**2 def f2(x): return x + 1 def f3(x): return x - 1 def map_test( 阅读全文
posted @ 2019-09-20 14:00 周围圆 阅读(285) 评论(0) 推荐(0) 编辑