Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我想创建一个 xlsx 文件,但是,我可以写更多的 65533 行,我正在使用的对象是 Xlsxwriter?
我怎样才能写更多的行?
简单测试:
import xlsxwriter workbook = xlsxwriter.Workbook("test.xlsx") sheet = workbook.add_worksheet() for i in range(1, 70000): sheet.write('B' + str(i), "Blub") workbook.close()
之后,我在 Libreoffice 中打开了 test.xlsx 文件,嗯,瞧 :)