![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
reidisagoodboy
这个作者很懒,什么都没留下…
展开
-
【python】【excel读写 模块】
读取: #author Reid #date 2017-11-11 #function read from xls file #! usr/bin/python import os import xlrd data = xlrd.open_workbook('relation.xls') table = data.sheet_by_index(0) mrows原创 2017-11-13 21:52:14 · 187 阅读 · 0 评论 -
pyhon 安装第一个模块 xlrd
一 准备安装工具seuptool https://pypi.python.org/pypi/setuptools#files 解压: unzip setuptools-36.7.1.zip 编译: linux@Ubantu:~/下载/setuptools-36.7.1$ sudo python setup.py build 安装: linux@Ubantu:~/下载/setu原创 2017-11-11 22:25:11 · 2027 阅读 · 0 评论 -
Pyhon--Sqlite 建表和查询
import sqlite3 def convert(value): if value.startswith('~'): return value.strip('~') if not value: value = '0' return int(value) conn=sqlite3.connect('test.db') curs = c原创 2017-11-19 16:04:36 · 171 阅读 · 0 评论