Python ExcelPython 的 Excel 开发包
顾名思义,该项目是 Python 用来处理 Excel 文档的开发包,无需 Windows 以及 Excel 环境的支持。
该项目包含五个子项目:
- openpyxl http://pypi.python.org/pypi/openpyxl
- xlsxwriter https://gitee.com/mirrors/XlsxWriter
- xlrd https://gitee.com/mirrors/xlrd
- xlwt https://gitee.com/mirrors/xlwt
- xlutils https://gitee.com/mirrors/xlutils
示例代码:
from openpyxl import Workbook wb = Workbook() # grab the active worksheet ws = wb.active # Data can be assigned directly to cells ws['A1'] = 42 # Rows can also be appended ws.append([1, 2, 3]) # Python types will automatically be converted import datetime ws['A2'] = datetime.datetime.now() # Save the file wb.save("sample.xlsx")
评论
aioredisRedis 的 Python 开发包
aioredis是基于Asyncio实现的异步Redis的Python开发包。要求:Python3.3+asyncioorPython3.4+hiredis示例代码:import asyncioimp
aioredisRedis 的 Python 开发包
0
elasticsearch-pyElasticSearch 的 Python 开发包
elasticsearch-py 是 ElasticSearch 官方出品的 Python 客户端开
elasticsearch-pyElasticSearch 的 Python 开发包
0
redis-pyRedis 的 Python 开发包
redis-py 这是 Redis 目前最成熟的 Python 客户端开发包。示例代码:>&g
redis-pyRedis 的 Python 开发包
0
elasticsearch-pyElasticSearch 的 Python 开发包
elasticsearch-py是ElasticSearch官方出品的Python客户端开发包。示例代码:>>> from datetime import datetime>&
elasticsearch-pyElasticSearch 的 Python 开发包
0
GitpylibGit 的 Python 开发包
Gitpylib是Git的Python开发包。Gitpylib提供很多常用的Git特性,抽象了Git操作。
GitpylibGit 的 Python 开发包
0