跳到主要内容

📝 Markdown API 参考

子库名:pomarkdown | 安装:pip install pomarkdown 导入:import officeimport pomarkdown

excel2markdown

office.markdown.excel2markdown(
input_file,
output_file,
sheet_name=None
)

示例

import office

office.markdown.excel2markdown(input_file='data.xlsx', output_file='output.md')

office.markdown.excel2markdown(
input_file='data.xlsx', output_file='sheet1.md', sheet_name='Sheet1'
)