-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
stream_writer, 参考 Go 语言的写法,指定通过 excelize.Cell 定义值时好像没生效,不是很清楚是,代码问题,还是当前不支持,还是 Bug。
Steps to reproduce the issue
测试代码如下:
import excelize
f = excelize.new_file()
try:
stream_writer = f.new_stream_writer("Sheet1")
stream_writer.set_row("A2", [excelize.Cell(value="Hello, World!"), "Hello, World!"])
stream_writer.flush()
f.save_as("Book1.xlsx")
except RuntimeError as err:
print(err)
finally:
err = f.close()
if err:
print(err)
Describe the results you received
最终只有第二个 Hello, World! 出现在表格Book1.xlsx 里。
Describe the results you expected
预期表格出现两个 Hello, World!
Python version
Python 3.13.2
Excelize version or commit ID
0.0.4
Environment
macOS Sequoia
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request