- 博客(14)
- 收藏
- 关注
原创 使用python复制sqlite3数据库,解除database disk is malfored锁定
python解除sqlite3 database disk image is malformed
2023-10-11 13:48:33 185 1
原创 物联网(Iot) 企业微信机器人
# coding:utf-8# Author:Zhoubimport schedule # 定时任务import requests # 网络访问import arrow # 日期、时间from time i.
2021-01-30 20:24:35 376
原创 python matplotlib 数据可视化之散点图绘制
#coding=utf-8# Python3.6# Author:Zhoubinimport pandas as pd # 数据处理from pandas import Series,DataFrameimport numpy as np # 科学计算import datetime,timeimport matplotlib.pyplot as plt # 数据可视化处理# 马牌车牙刀测试对比fig,axe.
2020-09-15 17:32:17 229
原创 python matplotlib hist 直方图制作
#coding=utf-8# Python3.6# Author:Zhoubinimport pandas as pd # 数据处理from pandas import Series,DataFrameimport numpy as np # 科学计算import datetime,timeimport matplotlib.pyplot as plt # 数据可视化处理# import matplotlib.
2020-09-15 17:27:32 267
原创 python pandas+matplotlib X轴设为时间序列
#coding=utf-8#Program python3.6import pandas as pd # 数据分析import os # 操作系统OSimport matplotlib.pyplot as plt # 可视化...
2019-12-06 17:33:24 2636 1
原创 pandas matplotlib 数据相关
https://pan.baidu.com/s/1vMh2EP_7A7_zBC2EZFk8eQExcel文档#coding=utf-8import pandas as pdfrom pandas import Series,DataFrameimport numpy as npimport datetimeimport arrowimport matplotlib....
2018-12-24 17:14:26 314
原创 pandas matplotlib 画图
#coding=utf-8import pandas as pdfrom pandas import Series,DataFrameimport numpy as npimport datetimeimport arrowimport matplotlib.pyplot as plt##折线图,点阵data=DataFrame(pd.read_excel(r'D:\u...
2018-12-17 08:55:18 255
原创 类的练习
#coding=utf-8import requestsfrom lxml import etreeimport stringclass Urlpage(object): header={'User-Agent':'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0...
2018-03-24 18:25:09 219
原创 抓取51job职位信息
#coding=gb18030import requestsfrom lxml import etreefrom gevent import monkey,pool;monkey.patch_all()import geventimport osimport timeimport xlwtimport urllib2import stringxl=xlwt.Workbook(...
2018-03-15 17:52:27 595 1
原创 scandir threading
#coding=gb18030import osimport shelveimport threadingimport scandirdraw_dict=shelve.open('d:\\draw.dat')dic={}lists=[]def add_dict(ar): for rootfolder,subfolder,obfile in scandir.walk(ar...
2018-03-10 18:14:17 274
原创 xpath 爬取51job,存于excel
#coding=gb18030import requestsfrom bs4 import BeautifulSoupfrom lxml import etreeimport osimport timeimport xlwtimport urllib2import stringur=[]th=[]zp=u'招聘_'xl=xlwt.Workbook()st=xl.add_...
2018-03-07 15:17:06 755 1
原创 xpath text用法
#coding=utf-8from gevent import monkey,poolmonkey.patch_all()import osimport geventfrom lxml import etreeimport urllib2import timejobs=[]links=[]p=pool.Pool(30)urls=[]f=open('d:\\nlx_autho...
2018-02-09 23:41:29 2424
原创 协程 gevent 南陵论坛详细内容
更新代码:#coding=utf-8from gevent import monkey,poolmonkey.patch_all()import osimport geventfrom lxml import etreeimport urllib2import timejobs=[]links=[]p=pool.Pool(30)urls=[]f=open('d:\\nl...
2018-02-09 18:00:33 228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人