gpt4 book ai didi

python - 如何将轮廓画到顶部?

转载 作者:太空宇宙 更新时间:2023-11-03 18:38:25 26 4
gpt4 key购买 nike

import xlsxwriter

workbook = xlsxwriter.Workbook('outline_collapsed_test.xlsx')
worksheet1 = workbook.add_worksheet('Outlined Rows')

worksheet1.set_row(2, None, None, {'level': 2})
worksheet1.set_row(3, None, None, {'level': 2})
worksheet1.set_row(4, None, None, {'level': 2})
worksheet1.set_row(5, None, None, {'level': 1})

worksheet1.set_row(6, None, None, {'level': 2})
worksheet1.set_row(7, None, None, {'level': 2})
worksheet1.set_row(8, None, None, {'level': 2})
worksheet1.set_row(9, None, None, {'level': 1})

workbook.close()

此代码将符号“+”放在底部。如何将其移动到顶部?像这样enter image description here

最佳答案

关于python - 如何将轮廓画到顶部?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21091333/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com