Skip to content

save_workbook

Source code

Description

Save the given workbook on the filesystem under the name filename.

https://openpyxl.readthedocs.io/en/latest/api/openpyxl.writer.excel.html

Usage

save_workbook(workbook, filename, ...)

Arguments

workbook workbook
filename filename
Additional arguments, i.e. kwargs.

Details

:param workbook: the workbook to save :type workbook: :class:‘openpyxl.workbook.Workbook’ :param filename: the path to which save the workbook :type filename: string :rtype: bool

Value

An openpyxl Python object.

Examples

library("xlcharts")

save_workbook(workbook = wb, filename = tempfile())