openpyxl.utils.exceptions module

Definitions for openpyxl shared exception classes.

exception openpyxl.utils.exceptions.CellCoordinatesException[源代码]

基类:Exception

Error for converting between numeric and A1-style cell references.

exception openpyxl.utils.exceptions.IllegalCharacterError[源代码]

基类:Exception

The data submitted which cannot be used directly in Excel files. It must be removed or escaped.

exception openpyxl.utils.exceptions.InvalidFileException[源代码]

基类:Exception

Error for trying to open a non-ooxml file.

exception openpyxl.utils.exceptions.NamedRangeException[源代码]

基类:Exception

Error for badly formatted named ranges.

exception openpyxl.utils.exceptions.ReadOnlyWorkbookException[源代码]

基类:Exception

Error for trying to modify a read-only workbook

exception openpyxl.utils.exceptions.SheetTitleException[源代码]

基类:Exception

Error for bad sheet names.

exception openpyxl.utils.exceptions.WorkbookAlreadySaved[源代码]

基类:Exception

Error when attempting to perform operations on a dump workbook while it has already been dumped once