
Python
jimfg2010
这个作者很懒,什么都没留下…
展开
-
First day of py
First day for study py when turn to another position in my career. And share them to my all friends in everywhere & anytime.原创 2018-09-12 15:48:39 · 183 阅读 · 0 评论 -
My heart will go on and on
The following code will run endless on your py run software. And u can change the name of “*” as ur friend which u want to him/her see the result of the code.!/usr/bin/env pythoncoding=utf-8...原创 2018-09-12 16:01:25 · 459 阅读 · 0 评论 -
python用read_html抓取网页表格型数据
本文转载自:https://www.cnblogs.com/sanduzxcvbnm/p/10250222.html需要学习的地方:(1)read_html的用法作用:快速获取在html中页面中table格式的数据(2)to_sql的用法将获得的DataFrame数据写入数据表中(3)使用urlencode构造所需的url参数摘要: 我们平常在浏览网页中会遇到一些表格型的数据信息,除...转载 2019-07-09 09:16:09 · 14037 阅读 · 0 评论 -
Python3 操作excel读写报错 AttributeError: 'Book' object has no attribute 'save'(write,value)
Python3 对excel进行读取操作,读取完不需要save;有写入操作才需要save1.看如下脚本:#!/usr/bin/env python3#coding=utf-8import datetime,platform,time,os,sys,stat,re,linecachefrom urllib import requestimport urllib.requestimpor...原创 2019-06-28 15:09:59 · 28405 阅读 · 4 评论 -
利用Python3.4+收集fio 测试结果
因目前fio内置无批量收集测试结果的功能,如果简单的测试(测试结果100个文件以下),可以手动收集结果,但是如果大于100个log文件,处理起来会非常麻烦。 1.本文脚本运行环境: 1.1在windows X系统; 1.2.python3.4+。 2.用法: 2.1测试fio脚本输出的log必须要有‘k’ or ‘K’为名称; 2.2把此py内容拷贝到新建py文件中; 2...原创 2019-07-31 09:01:26 · 1474 阅读 · 2 评论