Openpyxl.doc

时间:2023-03-05 07:48:32
【文件属性】:

文件名称:Openpyxl.doc

文件大小:9KB

文件格式:DOC

更新时间:2023-03-05 07:48:32

pypypp

import prettytable as pt ## 按行添加数据 tb = pt.PrettyTable() tb.field_names = ["City name", "Area", "Population", "Annual Rainfall"] tb.add_row(["Adelaide",1295, 1158259, 600.5]) tb.add_row(["Brisbane",5905, 1857594, 1146.4]) tb.add_row(["Darwin", 112, 120900, 1714.7]) tb.add_row(["0007", 1357, 205556,619.5]) print(tb)


网友评论