网站首页尺寸网站开发周志
本文由 大侠(AhcaoZhu)原创,转载请声明。
 链接: https://blog.csdn.net/Ahcao2008

 
一图看懂 xlsxwriter 模块:用于创建 Excel .xlsx 文件, 资料整理+笔记(大全)
- 摘要
 - 模块图
 - 类关系图
 - 模块全展开
 - 【xlsxwriter】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 - 2 xlsxwriter.format
 - 3 xlsxwriter.shape
 - 4 xlsxwriter.utility
 - 5 xlsxwriter.drawing
 - 6 xlsxwriter.exceptions
 - 7 xlsxwriter.worksheet
 - 8 xlsxwriter.chartsheet
 - 9 xlsxwriter.sharedstrings
 - 10 xlsxwriter.app
 - 11 xlsxwriter.contenttypes
 - 12 xlsxwriter.core
 - 13 xlsxwriter.custom
 - 14 xlsxwriter.metadata
 - 15 xlsxwriter.relationships
 - 16 xlsxwriter.styles
 - 17 xlsxwriter.theme
 - 18 xlsxwriter.vml
 - 19 xlsxwriter.table
 - 20 xlsxwriter.comments
 - 21 xlsxwriter.packager
 - 22 xlsxwriter.chart
 - 23 xlsxwriter.chart_area
 - 24 xlsxwriter.chart_bar
 - 25 xlsxwriter.chart_column
 - 26 xlsxwriter.chart_pie
 - 27 xlsxwriter.chart_doughnut
 - 28 xlsxwriter.chart_line
 - 29 xlsxwriter.chart_radar
 - 30 xlsxwriter.chart_scatter
 - 31 xlsxwriter.chart_stock
 - 32 xlsxwriter.workbook
 
- 类
 - 33 xlsxwriter.workbook.Workbook
 - data
 - method
 - 3 add_chart()
 - 4 add_chartsheet()
 - 5 add_format()
 - 6 add_vba_project()
 - 7 add_worksheet()
 - 8 close()
 - 9 define_name()
 - 10 get_default_url_format()
 - 11 get_worksheet_by_name()
 - 12 read_only_recommended()
 - 13 set_calc_mode()
 - 14 set_custom_property()
 - 15 set_properties()
 - 16 set_size()
 - 17 set_tab_ratio()
 - 18 set_vba_name()
 - 19 use_zip64()
 - 20 worksheets()
 
- 【xlsxwriter.xmlwriter】
 - 统计
 - 常量
 - 模块
 - 1 re
 
- 类
 - 2 _io.StringIO
 - 3 xlsxwriter.xmlwriter.XMLwriter
 
- 【xlsxwriter.format】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.format.Format
 - method
 - 1 set_align()
 - 2 set_bg_color()
 - 3 set_bold()
 - 4 set_border()
 - 5 set_border_color()
 - 6 set_bottom()
 - 7 set_bottom_color()
 - 8 set_center_across()
 - 9 set_color()
 - 10 set_color_indexed()
 - 11 set_diag_border()
 - 12 set_diag_color()
 - 13 set_diag_type()
 - 14 set_dxf_index()
 - 15 set_fg_color()
 - 16 set_font()
 - 17 set_font_charset()
 - 18 set_font_color()
 - 19 set_font_condense()
 - 20 set_font_extend()
 - 21 set_font_family()
 - 22 set_font_index()
 - 23 set_font_name()
 - 24 set_font_only()
 - 25 set_font_outline()
 - 26 set_font_scheme()
 - 27 set_font_script()
 - 28 set_font_shadow()
 - 29 set_font_size()
 - 30 set_font_strikeout()
 - 31 set_has_fill()
 - 32 set_has_font()
 - 33 set_hidden()
 - 34 set_hyperlink()
 - 35 set_indent()
 - 36 set_italic()
 - 37 set_left()
 - 38 set_left_color()
 - 39 set_locked()
 - 40 set_num_format()
 - 41 set_num_format_index()
 - 42 set_pattern()
 - 43 set_quote_prefix()
 - 44 set_reading_order()
 - 45 set_right()
 - 46 set_right_color()
 - 47 set_rotation()
 - 48 set_shrink()
 - 49 set_size()
 - 50 set_text_h_align()
 - 51 set_text_justlast()
 - 52 set_text_v_align()
 - 53 set_text_wrap()
 - 54 set_theme()
 - 55 set_top()
 - 56 set_top_color()
 - 57 set_underline()
 - 58 set_valign()
 - 59 set_xf_index()
 
- 内嵌函数或方法
 - 【xlsxwriter.shape】
 - 统计
 - 常量
 - 模块
 - 1 copy
 
- 类
 - 2 xlsxwriter.shape.Shape
 
- 内嵌函数或方法
 - 【xlsxwriter.utility】
 - 统计
 - 常量
 - dict
 
- 模块
 - 3 re
 - 4 datetime
 
- 函数
 - 5 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
 - 6 xl_rowcol_to_cell_fast(row, col)
 - 7 xl_col_to_name(col, col_abs=False)
 - 8 xl_cell_to_rowcol(cell_str)
 - 9 xl_cell_to_rowcol_abs(cell_str)
 - 10 xl_range(first_row, first_col, last_row, last_col)
 - 11 xl_range_abs(first_row, first_col, last_row, last_col)
 - 12 xl_range_formula(sheetname, first_row, first_col, last_row, last_col)
 - 13 quote_sheetname(sheetname)
 - 14 xl_pixel_width(string)
 - 15 xl_color(color)
 - 16 get_rgb_color(color)
 - 17 get_sparkline_style(style_id)
 - 18 supported_datetime(dt)
 - 19 remove_datetime_timezone(dt_obj, remove_timezone)
 - 20 datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone)
 - 21 preserve_whitespace(string)
 
- 内嵌函数或方法
 - 剩余
 - 【xlsxwriter.drawing】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 函数
 - 2 get_rgb_color(color)
 
- 类
 - 3 xlsxwriter.shape.Shape
 - 4 xlsxwriter.drawing.Drawing
 
- 【xlsxwriter.exceptions】
 - 统计
 - 常量
 - 类
 - 1 xlsxwriter.exceptions.XlsxWriterException
 - 2 xlsxwriter.exceptions.XlsxInputError
 - 3 xlsxwriter.exceptions.XlsxFileError
 - 4 xlsxwriter.exceptions.EmptyChartSeries
 - 5 xlsxwriter.exceptions.DuplicateTableName
 - 6 xlsxwriter.exceptions.InvalidWorksheetName
 - 7 xlsxwriter.exceptions.DuplicateWorksheetName
 - 8 xlsxwriter.exceptions.OverlappingRange
 - 9 xlsxwriter.exceptions.UndefinedImageSize
 - 10 xlsxwriter.exceptions.UnsupportedImageFormat
 - 11 xlsxwriter.exceptions.FileCreateError
 - 12 xlsxwriter.exceptions.FileSizeError
 
- 【xlsxwriter.worksheet】
 - 统计
 - 常量
 - 模块
 - 1 datetime
 - 2 math
 - 3 os
 - 4 re
 - 5 tempfile
 - 6 xlsxwriter.xmlwriter
 
- 函数
 - 7 namedtuple(typename, field_names, *, rename=False, defaults=None, module=None)
 - 8 wraps(wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',))
 - 9 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
 - 10 xl_rowcol_to_cell_fast(row, col)
 - 11 xl_cell_to_rowcol(cell_str)
 - 12 xl_col_to_name(col, col_abs=False)
 - 13 xl_range(first_row, first_col, last_row, last_col)
 - 14 xl_color(color)
 - 15 xl_pixel_width(string)
 - 16 get_sparkline_style(style_id)
 - 17 supported_datetime(dt)
 - 18 datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone)
 - 19 preserve_whitespace(string)
 - 20 quote_sheetname(sheetname)
 - 21 convert_cell_args(method)
 - 22 convert_range_args(method)
 - 23 convert_column_args(method)
 
- 类
 - 24 collections.defaultdict
 - 25 decimal.Decimal
 - 26 fractions.Fraction
 - 27 _io.StringIO
 - 28 xlsxwriter.format.Format
 - 29 xlsxwriter.drawing.Drawing
 - 30 xlsxwriter.shape.Shape
 - 31 xlsxwriter.xmlwriter.XMLwriter
 - 32 xlsxwriter.exceptions.DuplicateTableName
 - 33 xlsxwriter.exceptions.OverlappingRange
 - 34 xlsxwriter.worksheet.String
 - property
 
- 35 xlsxwriter.worksheet.Number
 - property
 
- 36 xlsxwriter.worksheet.Blank
 - property
 
- 37 xlsxwriter.worksheet.Boolean
 - property
 
- 38 xlsxwriter.worksheet.Formula
 - property
 
- 39 xlsxwriter.worksheet.Datetime
 - property
 
- 40 xlsxwriter.worksheet.ArrayFormula
 - property
 
- 41 xlsxwriter.worksheet.RichString
 - property
 
- 42 xlsxwriter.worksheet.Worksheet
 - method
 - 1 activate()
 - 2 add_sparkline()
 - 3 add_table()
 - 4 add_write_handler()
 - 5 autofilter()
 - 6 autofit()
 - 7 center_horizontally()
 - 8 center_vertically()
 - 9 conditional_format()
 - 10 data_validation()
 - 11 filter_column()
 - 12 filter_column_list()
 - 13 fit_to_pages()
 - 14 freeze_panes()
 - 15 get_name()
 - 16 hide()
 - 17 hide_gridlines()
 - 18 hide_row_col_headers()
 - 19 hide_zero()
 - 20 ignore_errors()
 - 21 insert_button()
 - 22 insert_chart()
 - 23 insert_image()
 - 24 insert_textbox()
 - 25 merge_range()
 - 26 outline_settings()
 - 27 print_across()
 - 28 print_area()
 - 29 print_black_and_white()
 - 30 print_row_col_headers()
 - 31 protect()
 - 32 repeat_columns()
 - 33 repeat_rows()
 - 34 right_to_left()
 - 35 select()
 - 36 set_background()
 - 37 set_column()
 - 38 set_column_pixels()
 - 39 set_comments_author()
 - 40 set_default_row()
 - 41 set_first_sheet()
 - 42 set_footer()
 - 43 set_h_pagebreaks()
 - 44 set_header()
 - 45 set_landscape()
 - 46 set_margins()
 - 47 set_page_view()
 - 48 set_paper()
 - 49 set_portrait()
 - 50 set_print_scale()
 - 51 set_row()
 - 52 set_row_pixels()
 - 53 set_selection()
 - 54 set_start_page()
 - 55 set_tab_color()
 - 56 set_top_left_cell()
 - 57 set_v_pagebreaks()
 - 58 set_vba_name()
 - 59 set_zoom()
 - 60 show_comments()
 - 61 split_panes()
 - 62 unprotect_range()
 - 63 write()
 - 64 write_array_formula()
 - 65 write_blank()
 - 66 write_boolean()
 - 67 write_column()
 - 68 write_comment()
 - 69 write_datetime()
 - 70 write_dynamic_array_formula()
 - 71 write_formula()
 - 72 write_number()
 - 73 write_rich_string()
 - 74 write_row()
 - 75 write_string()
 - 76 write_url()
 
- 内嵌函数或方法
 - 剩余
 - 【xlsxwriter.chartsheet】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.worksheet
 
- 类
 - 2 xlsxwriter.drawing.Drawing
 - 3 xlsxwriter.chartsheet.Chartsheet
 - method
 - 1 protect()
 - 2 set_chart()
 
- 【xlsxwriter.sharedstrings】
 - 统计
 - 常量
 - 模块
 - 1 re
 - 2 xlsxwriter.xmlwriter
 
- 函数
 - 3 preserve_whitespace(string)
 
- 类
 - 4 xlsxwriter.sharedstrings.SharedStrings
 - 5 xlsxwriter.sharedstrings.SharedStringTable
 
- 剩余
 - 【xlsxwriter.app】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.app.App
 
- 【xlsxwriter.contenttypes】
 - 统计
 - 常量
 - str
 - list
 
- 模块
 - 5 copy
 - 6 xlsxwriter.xmlwriter
 
- 类
 - 7 xlsxwriter.contenttypes.ContentTypes
 
- 【xlsxwriter.core】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 datetime.datetime
 - 3 xlsxwriter.core.Core
 
- 【xlsxwriter.custom】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.custom.Custom
 
- 【xlsxwriter.metadata】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.metadata.Metadata
 
- 【xlsxwriter.relationships】
 - 统计
 - 常量
 - str
 
- 模块
 - 4 xlsxwriter.xmlwriter
 
- 类
 - 5 xlsxwriter.relationships.Relationships
 
- 【xlsxwriter.styles】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.styles.Styles
 
- 【xlsxwriter.theme】
 - 统计
 - 常量
 - 类
 - 1 _io.StringIO
 - 2 xlsxwriter.theme.Theme
 
- 【xlsxwriter.vml】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.vml.Vml
 
- 【xlsxwriter.table】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 类
 - 2 xlsxwriter.table.Table
 
- 【xlsxwriter.comments】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.xmlwriter
 
- 函数
 - 2 preserve_whitespace(string)
 - 3 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
 
- 类
 - 4 xlsxwriter.comments.Comments
 
- 【xlsxwriter.packager】
 - 统计
 - 常量
 - 模块
 - 1 os
 - 2 stat
 - 3 tempfile
 
- 函数
 - 4 copy(src, dst, *, follow_symlinks=True)
 
- 类
 - 5 _io.StringIO
 - 6 _io.BytesIO
 - 7 xlsxwriter.app.App
 - 8 xlsxwriter.contenttypes.ContentTypes
 - 9 xlsxwriter.core.Core
 - 10 xlsxwriter.custom.Custom
 - 11 xlsxwriter.metadata.Metadata
 - 12 xlsxwriter.relationships.Relationships
 - 13 xlsxwriter.sharedstrings.SharedStrings
 - 14 xlsxwriter.styles.Styles
 - 15 xlsxwriter.theme.Theme
 - 16 xlsxwriter.vml.Vml
 - 17 xlsxwriter.table.Table
 - 18 xlsxwriter.comments.Comments
 - 19 xlsxwriter.exceptions.EmptyChartSeries
 - 20 xlsxwriter.packager.Packager
 
- 【xlsxwriter.chart】
 - 统计
 - 常量
 - 模块
 - 1 re
 - 2 copy
 - 3 xlsxwriter.xmlwriter
 
- 函数
 - 4 get_rgb_color(color)
 - 5 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
 - 6 xl_range_formula(sheetname, first_row, first_col, last_row, last_col)
 - 7 supported_datetime(dt)
 - 8 datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone)
 - 9 quote_sheetname(sheetname)
 
- 类
 - 10 xlsxwriter.shape.Shape
 - 11 xlsxwriter.chart.Chart
 - method
 - 1 add_series()
 - 2 combine()
 - 3 set_chartarea()
 - 4 set_drop_lines()
 - 5 set_high_low_lines()
 - 6 set_legend()
 - 7 set_plotarea()
 - 8 set_size()
 - 9 set_style()
 - 10 set_table()
 - 11 set_title()
 - 12 set_up_down_bars()
 - 13 set_x2_axis()
 - 14 set_x_axis()
 - 15 set_y2_axis()
 - 16 set_y_axis()
 - 17 show_blanks_as()
 - 18 show_hidden_data()
 
- 内嵌函数或方法
 - 【xlsxwriter.chart_area】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_area.ChartArea
 
- 【xlsxwriter.chart_bar】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_bar.ChartBar
 - method
 - 1 combine()
 
- 内嵌函数或方法
 - 【xlsxwriter.chart_column】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_column.ChartColumn
 
- 【xlsxwriter.chart_pie】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_pie.ChartPie
 - method
 - 1 set_rotation()
 
- 内嵌函数或方法
 - 【xlsxwriter.chart_doughnut】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart_pie
 
- 类
 - 2 xlsxwriter.chart_doughnut.ChartDoughnut
 - method
 - 1 set_hole_size()
 
- 内嵌函数或方法
 - 【xlsxwriter.chart_line】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_line.ChartLine
 
- 【xlsxwriter.chart_radar】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_radar.ChartRadar
 
- 【xlsxwriter.chart_scatter】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_scatter.ChartScatter
 - method
 - 1 combine()
 
- 内嵌函数或方法
 - 【xlsxwriter.chart_stock】
 - 统计
 - 常量
 - 模块
 - 1 xlsxwriter.chart
 
- 类
 - 2 xlsxwriter.chart_stock.ChartStock
 
- 【xlsxwriter.workbook】
 - 统计
 - 常量
 - int
 
- 模块
 - 2 hashlib
 - 3 operator
 - 4 os
 - 5 re
 - 6 time
 - 7 xlsxwriter.xmlwriter
 
- 函数
 - 8 xl_cell_to_rowcol(cell_str)
 
- 类
 - 9 datetime.datetime
 - 10 decimal.Decimal
 - 11 fractions.Fraction
 - 12 zipfile.ZipFile
 - 13 zipfile.ZipInfo
 - 14 zipfile.LargeZipFile
 - 15 xlsxwriter.worksheet.Worksheet
 
摘要
全文介绍系统内置 xlsxwriter 模块、函数、类及类的方法和属性。
它通过代码抓取并经AI智能翻译和人工校对。
是一部不可多得的权威字典类工具书。它是系列集的一部分。后续陆续发布、敬请关注。【原创:AhcaoZhu大侠】
模块图

xlsxwriterxlsxwriter.xmlwriterxlsxwriter.formatxlsxwriter.shapexlsxwriter.utilityxlsxwriter.drawingxlsxwriter.exceptionsxlsxwriter.worksheetxlsxwriter.chartsheetxlsxwriter.sharedstringsxlsxwriter.appxlsxwriter.contenttypesxlsxwriter.corexlsxwriter.customxlsxwriter.metadataxlsxwriter.relationshipsxlsxwriter.stylesxlsxwriter.themexlsxwriter.vmlxlsxwriter.tablexlsxwriter.commentsxlsxwriter.packagerxlsxwriter.chartxlsxwriter.chart_areaxlsxwriter.chart_barxlsxwriter.chart_columnxlsxwriter.chart_piexlsxwriter.chart_doughnutxlsxwriter.chart_linexlsxwriter.chart_radarxlsxwriter.chart_scatterxlsxwriter.chart_stockxlsxwriter.workbook
 
类关系图

◆object◆BaseException◆Exceptionxlsxwriter.exceptions.XlsxWriterExceptionxlsxwriter.exceptions.XlsxFileErrorxlsxwriter.exceptions.FileCreateErrorxlsxwriter.exceptions.FileSizeErrorxlsxwriter.exceptions.UndefinedImageSizexlsxwriter.exceptions.UnsupportedImageFormatxlsxwriter.exceptions.XlsxInputErrorxlsxwriter.exceptions.DuplicateTableNamexlsxwriter.exceptions.DuplicateWorksheetNamexlsxwriter.exceptions.EmptyChartSeriesxlsxwriter.exceptions.InvalidWorksheetNamexlsxwriter.exceptions.OverlappingRange◆tuplexlsxwriter.worksheet.ArrayFormulaxlsxwriter.worksheet.Blankxlsxwriter.worksheet.Booleanxlsxwriter.worksheet.Datetimexlsxwriter.worksheet.Formulaxlsxwriter.worksheet.Numberxlsxwriter.worksheet.RichStringxlsxwriter.worksheet.Stringxlsxwriter.packager.Packagerxlsxwriter.shape.Shapexlsxwriter.sharedstrings.SharedStringTablexlsxwriter.theme.Themexlsxwriter.workbook.WorksheetMetaxlsxwriter.xmlwriter.XMLwriterxlsxwriter.app.Appxlsxwriter.chart.Chartxlsxwriter.chart_area.ChartAreaxlsxwriter.chart_bar.ChartBarxlsxwriter.chart_column.ChartColumnxlsxwriter.chart_line.ChartLinexlsxwriter.chart_pie.ChartPiexlsxwriter.chart_doughnut.ChartDoughnutxlsxwriter.chart_radar.ChartRadarxlsxwriter.chart_scatter.ChartScatterxlsxwriter.chart_stock.ChartStockxlsxwriter.comments.Commentsxlsxwriter.contenttypes.ContentTypesxlsxwriter.core.Corexlsxwriter.custom.Customxlsxwriter.drawing.Drawingxlsxwriter.format.Formatxlsxwriter.metadata.Metadataxlsxwriter.relationships.Relationshipsxlsxwriter.sharedstrings.SharedStringsxlsxwriter.styles.Stylesxlsxwriter.table.Tablexlsxwriter.vml.Vmlxlsxwriter.workbook.Workbookxlsxwriter.worksheet.Worksheetxlsxwriter.chartsheet.Chartsheet
 
模块全展开
【xlsxwriter】
xlsxwriter, fullname=xlsxwriter, file=xlsxwriter_init_.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 6 | 
| 6 | list | 1 | 
| 8 | dict | 1 | 
| 9 | module | 32 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 11 | 
| 16 | all | 44 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
2 xlsxwriter.format
format, fullname=xlsxwriter.format, file=xlsxwriter\format.py
3 xlsxwriter.shape
shape, fullname=xlsxwriter.shape, file=xlsxwriter\shape.py
4 xlsxwriter.utility
utility, fullname=xlsxwriter.utility, file=xlsxwriter\utility.py
5 xlsxwriter.drawing
drawing, fullname=xlsxwriter.drawing, file=xlsxwriter\drawing.py
6 xlsxwriter.exceptions
exceptions, fullname=xlsxwriter.exceptions, file=xlsxwriter\exceptions.py
7 xlsxwriter.worksheet
worksheet, fullname=xlsxwriter.worksheet, file=xlsxwriter\worksheet.py
8 xlsxwriter.chartsheet
chartsheet, fullname=xlsxwriter.chartsheet, file=xlsxwriter\chartsheet.py
9 xlsxwriter.sharedstrings
sharedstrings, fullname=xlsxwriter.sharedstrings, file=xlsxwriter\sharedstrings.py
10 xlsxwriter.app
app, fullname=xlsxwriter.app, file=xlsxwriter\app.py
11 xlsxwriter.contenttypes
contenttypes, fullname=xlsxwriter.contenttypes, file=xlsxwriter\contenttypes.py
12 xlsxwriter.core
core, fullname=xlsxwriter.core, file=xlsxwriter\core.py
13 xlsxwriter.custom
custom, fullname=xlsxwriter.custom, file=xlsxwriter\custom.py
14 xlsxwriter.metadata
metadata, fullname=xlsxwriter.metadata, file=xlsxwriter\metadata.py
15 xlsxwriter.relationships
relationships, fullname=xlsxwriter.relationships, file=xlsxwriter\relationships.py
16 xlsxwriter.styles
styles, fullname=xlsxwriter.styles, file=xlsxwriter\styles.py
17 xlsxwriter.theme
theme, fullname=xlsxwriter.theme, file=xlsxwriter\theme.py
18 xlsxwriter.vml
vml, fullname=xlsxwriter.vml, file=xlsxwriter\vml.py
19 xlsxwriter.table
table, fullname=xlsxwriter.table, file=xlsxwriter\table.py
20 xlsxwriter.comments
comments, fullname=xlsxwriter.comments, file=xlsxwriter\comments.py
21 xlsxwriter.packager
packager, fullname=xlsxwriter.packager, file=xlsxwriter\packager.py
22 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
23 xlsxwriter.chart_area
chart_area, fullname=xlsxwriter.chart_area, file=xlsxwriter\chart_area.py
24 xlsxwriter.chart_bar
chart_bar, fullname=xlsxwriter.chart_bar, file=xlsxwriter\chart_bar.py
25 xlsxwriter.chart_column
chart_column, fullname=xlsxwriter.chart_column, file=xlsxwriter\chart_column.py
26 xlsxwriter.chart_pie
chart_pie, fullname=xlsxwriter.chart_pie, file=xlsxwriter\chart_pie.py
27 xlsxwriter.chart_doughnut
chart_doughnut, fullname=xlsxwriter.chart_doughnut, file=xlsxwriter\chart_doughnut.py
28 xlsxwriter.chart_line
chart_line, fullname=xlsxwriter.chart_line, file=xlsxwriter\chart_line.py
29 xlsxwriter.chart_radar
chart_radar, fullname=xlsxwriter.chart_radar, file=xlsxwriter\chart_radar.py
30 xlsxwriter.chart_scatter
chart_scatter, fullname=xlsxwriter.chart_scatter, file=xlsxwriter\chart_scatter.py
31 xlsxwriter.chart_stock
chart_stock, fullname=xlsxwriter.chart_stock, file=xlsxwriter\chart_stock.py
32 xlsxwriter.workbook
workbook, fullname=xlsxwriter.workbook, file=xlsxwriter\workbook.py
类
33 xlsxwriter.workbook.Workbook
Workbook, xlsxwriter.workbook.Workbook, module=xlsxwriter.workbook
用于编写Excel XLSX工作簿文件的类。
 
data
1 chartsheet_class=<class ‘xlsxwriter.chartsheet.Chartsheet’> kind:data type:type class:<class ‘xlsxwriter.workbook.Workbook’>
2 worksheet_class=<class ‘xlsxwriter.worksheet.Worksheet’> kind:data type:type class:<class ‘xlsxwriter.workbook.Workbook’>
method
3 add_chart()
kind=method class=Workbook objtype=function
创建一个图表对象。参数:options: The chart type and subtype options.返回:指向 Chart 的对象。
 
4 add_chartsheet()
kind=method class=Workbook objtype=function
向Excel工作簿添加新的图表表。参数:name: The chartsheet name. Defaults to 'Sheet1', etc.返回:指向 chartsheet 的对象。
 
5 add_format()
kind=method class=Workbook objtype=function
向Excel工作簿添加新格式。参数:properties: The format properties.返回:指向 Format 的对象。
 
6 add_vba_project()
kind=method class=Workbook objtype=function
添加一个vbaProject二进制文件到Excel工作簿。        参数:vba_project: The vbaProject binary file name.is_stream:   vba_project is an in memory byte stream.返回:无。
 
7 add_worksheet()
kind=method class=Workbook objtype=function
向Excel工作簿添加新工作表。参数:name: The worksheet name. Defaults to 'Sheet1', etc.返回:指向 worksheet 的对象。
 
8 close()
kind=method class=Workbook objtype=function
调用终结代码并关闭文件。参数:None.返回:无。
 
9 define_name()
kind=method class=Workbook objtype=function
在工作簿中创建已定义的名称。参数:name:    The defined name.formula: The cell or range that the defined name refers to.返回:无。
 
10 get_default_url_format()
kind=method class=Workbook objtype=function
获取当未使用write url()指定用户定义格式时使用的默认url格式。
格式是Excel为默认主题定义的超链接样式。参数:None.返回:A format object.
 
11 get_worksheet_by_name()
kind=method class=Workbook objtype=function
使用sheetname在工作簿中返回工作表对象。参数:name: The name of the worksheet.返回:A worksheet object or None.
 
12 read_only_recommended()
kind=method class=Workbook objtype=function
保存文件时设置Excel“建议只读”选项。参数:None.返回:无。
 
13 set_calc_mode()
kind=method class=Workbook objtype=function
设置工作簿的Excel计算模式。参数:mode: String containing one of:* manual* auto_except_tables* auto返回:无。
 
14 set_custom_property()
kind=method class=Workbook objtype=function
设置自定义文档属性。参数:name:          The name of the custom property.value:         The value of the custom property.property_type: The type of the custom property. Optional.返回:无。
 
15 set_properties()
kind=method class=Workbook objtype=function
设置文档属性,如标题,作者等。参数:properties: Dictionary of document properties.返回:无。
 
16 set_size()
kind=method class=Workbook objtype=function
设置工作簿窗口的大小。参数:width:  Width  of the window in pixels.height: Height of the window in pixels.返回:无。
 
17 set_tab_ratio()
kind=method class=Workbook objtype=function
设置工作表选项卡和水平滑块之间的比例。参数:tab_ratio: The tab ratio, 0 <= tab_ratio <= 100返回:无。
 
18 set_vba_name()
kind=method class=Workbook objtype=function
为工作簿设置VBA名称。默认情况下,工作簿在VBA中被称为ThisWorkbook。参数:name: 工作簿VBA名称.返回:无。
 
19 use_zip64()
kind=method class=Workbook objtype=function
当写xlsx文件压缩容器时,允许ZIP64扩展。参数:None.返回:无。
 
20 worksheets()
kind=method class=Workbook objtype=function
返回工作簿中工作表对象的列表。参数:None.返回:A list of worksheet objects.
 
【xlsxwriter.xmlwriter】
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 2 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 re
re, fullname=re, file=re.py
类
2 _io.StringIO
StringIO, _io.StringIO, module=_io
使用内存缓冲区实现文本I/O。初始值参数设置对象的值。换行参数类似于TextIOWrapper的构造函数。
 
3 xlsxwriter.xmlwriter.XMLwriter
XMLwriter, xlsxwriter.xmlwriter.XMLwriter, module=xlsxwriter.xmlwriter
简单的XML编写器类。
 
【xlsxwriter.format】
format, fullname=xlsxwriter.format, file=xlsxwriter\format.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.format.Format
Format, xlsxwriter.format.Format, module=xlsxwriter.format
用于编写Excel XLSX格式文件的类。
 
method
1 set_align()
kind=method class=Format objtype=function
设置格式单元格对齐方式。参数:alignment: String representing alignment. No default.返回:无。
 
2 set_bg_color()
kind=method class=Format objtype=function
设置Format bg color属性。参数:bg_color: Background color. No default.返回:无。
 
3 set_bold()
kind=method class=Format objtype=function
设置“加粗格式”属性。参数:bold: 默认为True,打开属性。返回:无。
 
4 set_border()
kind=method class=Format objtype=function
设置“底部格式”属性。参数:bottom: Default is 1, border type 1.返回:无。
 
5 set_border_color()
kind=method class=Format objtype=function
设置“底部格式”属性。参数:color: Color string. No default.返回:无。
 
6 set_bottom()
kind=method class=Format objtype=function
7 set_bottom_color()
kind=method class=Format objtype=function
设置底部颜色的格式属性。参数:bottom_color: Color string. No default.返回:无。
 
8 set_center_across()
kind=method class=Format objtype=function
设置“跨格式中心”属性。返回:无。
 
9 set_color()
kind=method class=Format objtype=function
10 set_color_indexed()
kind=method class=Format objtype=function
11 set_diag_border()
kind=method class=Format objtype=function
设置Format diag边框属性。参数:diag_border: Default is 1, border type 1.返回:无。
 
12 set_diag_color()
kind=method class=Format objtype=function
设置格式diag颜色属性。参数:diag_color: Color string. No default.返回:无。
 
13 set_diag_type()
kind=method class=Format objtype=function
设置格式化diag类型属性。参数:diag_type: Default is 1, border type 1.返回:无。
 
14 set_dxf_index()
kind=method class=Format objtype=function
15 set_fg_color()
kind=method class=Format objtype=function
设置Format fg color属性。参数:fg_color: Foreground color. No default.返回:无。
 
16 set_font()
kind=method class=Format objtype=function
17 set_font_charset()
kind=method class=Format objtype=function
18 set_font_color()
kind=method class=Format objtype=function
设置“格式字体颜色”属性。参数:font_color: String with the font color. No default.返回:无。
 
19 set_font_condense()
kind=method class=Format objtype=function
20 set_font_extend()
kind=method class=Format objtype=function
21 set_font_family()
kind=method class=Format objtype=function
22 set_font_index()
kind=method class=Format objtype=function
23 set_font_name()
kind=method class=Format objtype=function
设置格式字体名称属性,如“Time New Roman”。Excel默认字体是'Calibri'。参数:font_name: String with the font name. No default.返回:无。
 
24 set_font_only()
kind=method class=Format objtype=function
25 set_font_outline()
kind=method class=Format objtype=function
设置“格式字体大纲”属性。参数:font_outline: Default is True, turns property on.返回:无。
 
26 set_font_scheme()
kind=method class=Format objtype=function
27 set_font_script()
kind=method class=Format objtype=function
设置“格式字体脚本”属性。参数:font_script: Default is 1, superscript.返回:无。
 
28 set_font_shadow()
kind=method class=Format objtype=function
设置“格式字体阴影”属性。参数:font_shadow: Default is True, turns property on.返回:无。
 
29 set_font_size()
kind=method class=Format objtype=function
设置“格式字体大小”属性。Excel默认字体大小为11。参数:font_size: Int with font size. No default.返回:无。
 
30 set_font_strikeout()
kind=method class=Format objtype=function
设置“格式字体删除”属性。参数:font_strikeout: Default is True, turns property on.返回:无。
 
31 set_has_fill()
kind=method class=Format objtype=function
32 set_has_font()
kind=method class=Format objtype=function
33 set_hidden()
kind=method class=Format objtype=function
设置格式隐藏属性。参数:hidden: Default is True, turns property on.返回:无。
 
34 set_hyperlink()
kind=method class=Format objtype=function
35 set_indent()
kind=method class=Format objtype=function
设置格式缩进属性。参数:indent: Default is 1, first indentation level.返回:无。
 
36 set_italic()
kind=method class=Format objtype=function
设置“格式斜体”属性。参数:italic: Default is True, turns property on.返回:无。
 
37 set_left()
kind=method class=Format objtype=function
设置Format_left属性。参数:left: Default is 1, border type 1.返回:无。
 
38 set_left_color()
kind=method class=Format objtype=function
设置Format_left_color属性。参数:left_color: Color string. No default.返回:无。
 
39 set_locked()
kind=method class=Format objtype=function
设置格式锁定属性。参数:locked: Default is True, turns property on.返回:无。
 
40 set_num_format()
kind=method class=Format objtype=function
设置Format num格式属性,例如“#,##0”。参数:num_format: String representing the number format. No default.返回:无。
 
41 set_num_format_index()
kind=method class=Format objtype=function
42 set_pattern()
kind=method class=Format objtype=function
设置格式模式属性。参数:pattern: Default is 1, solid fill.返回:无。
 
43 set_quote_prefix()
kind=method class=Format objtype=function
设置“格式引用前缀”属性。参数:quote_prefix: Default is True, turns property on.返回:无。
 
44 set_reading_order()
kind=method class=Format objtype=function
45 set_right()
kind=method class=Format objtype=function
设置格式权限属性。参数:right: Default is 1, border type 1.返回:无。
 
46 set_right_color()
kind=method class=Format objtype=function
设置格式正确的颜色属性。参数:right_color: Color string. No default.返回:无。
 
47 set_rotation()
kind=method class=Format objtype=function
设置格式旋转属性。参数:rotation: Rotation angle. No default.返回:无。
 
48 set_shrink()
kind=method class=Format objtype=function
设置格式收缩属性。参数:shrink: Default is True, turns property on.返回:无。
 
49 set_size()
kind=method class=Format objtype=function
50 set_text_h_align()
kind=method class=Format objtype=function
51 set_text_justlast()
kind=method class=Format objtype=function
设置Format text justlast属性。参数:text_justlast: Default is True, turns property on.返回:无。
 
52 set_text_v_align()
kind=method class=Format objtype=function
53 set_text_wrap()
kind=method class=Format objtype=function
设置“格式文本换行”属性。参数:text_wrap: Default is True, turns property on.返回:无。
 
54 set_theme()
kind=method class=Format objtype=function
55 set_top()
kind=method class=Format objtype=function
设置Format top属性。参数:top: Default is 1, border type 1.返回:无。
 
56 set_top_color()
kind=method class=Format objtype=function
设置“格式顶部颜色”属性。参数:top_color: Color string. No default.返回:无。
 
57 set_underline()
kind=method class=Format objtype=function
设置格式下划线属性。参数:underline: Default is 1, single underline.返回:无。
 
58 set_valign()
kind=method class=Format objtype=function
59 set_xf_index()
kind=method class=Format objtype=function
内嵌函数或方法
3 warn
【xlsxwriter.shape】
shape, fullname=xlsxwriter.shape, file=xlsxwriter\shape.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 copy
copy, fullname=copy, file=copy.py
类
2 xlsxwriter.shape.Shape
Shape, xlsxwriter.shape.Shape, module=xlsxwriter.shape
用于表示Excel XLSX形状对象的类。
 
内嵌函数或方法
3 warn
【xlsxwriter.utility】
utility, fullname=xlsxwriter.utility, file=xlsxwriter\utility.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 3 | 
| 9 | module | 2 | 
| 11 | function | 17 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 6 | 
| 14 | system | 8 | 
| 16 | all | 33 | 
常量
dict
1 COL_NAMES {}
2 CHAR_WIDTHS {’ ‘: 3, ‘!’: 5, ‘"’: 6, ‘#’: 7, ‘$’: 7, ‘%’: 11, ‘&’: 10, "’": 3, ‘(’: 5, ‘)’: 5, ‘*’: 7, ‘+’: 7, ‘,’: 4, ‘-’: 5, ‘.’: …
模块
3 re
re, fullname=re, file=re.py
4 datetime
datetime, fullname=datetime, file=datetime.py
datetime类型的快速实现。
 
函数
5 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False), module=xlsxwriter.utility, line:35 at site-packages\xlsxwriter\utility.py
将零索引的行和列单元格引用转换为A1样式字符串。AArgs:row:     The cell row.    Int.col:     The cell column. Int.row_abs: Optional flag to make the row absolute.    Bool.col_abs: Optional flag to make the column absolute. Bool.Returns:A1 style string.
 
6 xl_rowcol_to_cell_fast(row, col)
xl_rowcol_to_cell_fast(row, col), module=xlsxwriter.utility, line:65 at site-packages\xlsxwriter\utility.py
xl rowcol to cell函数的优化版本。仅供内部使用。Args:row: The cell row.    Int.col: The cell column. Int.Returns:A1 style string.
 
7 xl_col_to_name(col, col_abs=False)
xl_col_to_name(col, col_abs=False), module=xlsxwriter.utility, line:86 at site-packages\xlsxwriter\utility.py
将零索引列单元格引用转换为字符串。Args:col:     The cell column. Int.col_abs: Optional flag to make the column absolute. Bool.Returns:Column style string.
 
8 xl_cell_to_rowcol(cell_str)
xl_cell_to_rowcol(cell_str), module=xlsxwriter.utility, line:126 at site-packages\xlsxwriter\utility.py
将A1表示法中的单元格引用转换为零索引的行和列。Args:cell_str:  A1 style string.Returns:row, col: Zero indexed cell row and column indices.
 
9 xl_cell_to_rowcol_abs(cell_str)
xl_cell_to_rowcol_abs(cell_str), module=xlsxwriter.utility, line:158 at site-packages\xlsxwriter\utility.py
将A1表示法中的绝对单元格引用转换为零索引的行和列,对绝对行或列使用True/False值。Args:cell_str: A1 style string.Returns:row, col, row_abs, col_abs:  Zero indexed cell row and column indices.
 
10 xl_range(first_row, first_col, last_row, last_col)
xl_range(first_row, first_col, last_row, last_col), module=xlsxwriter.utility, line:204 at site-packages\xlsxwriter\utility.py
将零索引的行和col单元格引用转换为A1:B1范围字符串。    Args:first_row: The first cell row.    Int.first_col: The first cell column. Int.last_row:  The last cell row.     Int.last_col:  The last cell column.  Int.Returns:A1:B1 style range string.
 
11 xl_range_abs(first_row, first_col, last_row, last_col)
xl_range_abs(first_row, first_col, last_row, last_col), module=xlsxwriter.utility, line:231 at site-packages\xlsxwriter\utility.py
将零索引行和col单元格引用转换为 $A$1:$B$1 绝对范围字符串。    range string.Args:first_row: The first cell row.    Int.first_col: The first cell column. Int.last_row:  The last cell row.     Int.last_col:  The last cell column.  Int.Returns:$A$1:$B$1 style range string.
 
12 xl_range_formula(sheetname, first_row, first_col, last_row, last_col)
xl_range_formula(sheetname, first_row, first_col, last_row, last_col), module=xlsxwriter.utility, line:259 at site-packages\xlsxwriter\utility.py
将工作表名称和零索引行和col单元格引用转换为Sheet1!A1:B1范围公式字符串。Args:sheetname: The worksheet name.    String.first_row: The first cell row.    Int.first_col: The first cell column. Int.last_row:  The last cell row.     Int.last_col:  The last cell column.  Int.Returns:A1:B1 style range string.
 
13 quote_sheetname(sheetname)
quote_sheetname(sheetname), module=xlsxwriter.utility, line:281 at site-packages\xlsxwriter\utility.py
如果工作表名称包含空格或特殊字符,则将其转换为带引号的名称。Args:sheetname: The worksheet name. String.Returns:A quoted worksheet string.
 
14 xl_pixel_width(string)
xl_pixel_width(string), module=xlsxwriter.utility, line:305 at site-packages\xlsxwriter\utility.py
根据从Excel中获取的单个字符宽度获取字符串的像素宽度。
UTF8字符和其他未处理字符的默认宽度为8。Args:string: The string to calculate the width for. String.Returns:The string width in pixels. Note, Excel adds an additional 7 pixels ofpadding in the cell.
 
15 xl_color(color)
xl_color(color), module=xlsxwriter.utility, line:326 at site-packages\xlsxwriter\utility.py
16 get_rgb_color(color)
get_rgb_color(color), module=xlsxwriter.utility, line:359 at site-packages\xlsxwriter\utility.py
17 get_sparkline_style(style_id)
get_sparkline_style(style_id), module=xlsxwriter.utility, line:369 at site-packages\xlsxwriter\utility.py
18 supported_datetime(dt)
supported_datetime(dt), module=xlsxwriter.utility, line:672 at site-packages\xlsxwriter\utility.py
19 remove_datetime_timezone(dt_obj, remove_timezone)
remove_datetime_timezone(dt_obj, remove_timezone), module=xlsxwriter.utility, line:680 at site-packages\xlsxwriter\utility.py
20 datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone)
datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone), module=xlsxwriter.utility, line:696 at site-packages\xlsxwriter\utility.py
21 preserve_whitespace(string)
preserve_whitespace(string), module=xlsxwriter.utility, line:748 at site-packages\xlsxwriter\utility.py
内嵌函数或方法
22 warn
剩余
23 doc
24 loader <_frozen_importlib_external.SourceFileLoader object at 0x0000000002AA7308>
25 spec ModuleSpec(name=‘xlsxwriter.utility’, loader=<_frozen_importlib_external.SourceFileLoader object at 0x0000000002AA7308>, origin=‘D:\AhPython\venv\lib\site-packages\xlsxwriter\utility.py’)
26 re_leading re.compile(‘^\s’)
27 re_trailing re.compile(‘\s$’)
28 re_range_parts re.compile(‘(\$?)([A-Z]{1,3})(\$?)(\d+)’)
【xlsxwriter.drawing】
drawing, fullname=xlsxwriter.drawing, file=xlsxwriter\drawing.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 2 | 
| 11 | function | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 12 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
函数
2 get_rgb_color(color)
get_rgb_color(color), module=xlsxwriter.utility, line:359 at site-packages\xlsxwriter\utility.py
类
3 xlsxwriter.shape.Shape
Shape, xlsxwriter.shape.Shape, module=xlsxwriter.shape, line:0 at
4 xlsxwriter.drawing.Drawing
Drawing, xlsxwriter.drawing.Drawing, module=xlsxwriter.drawing
用于编写Excel XLSX绘图文件的类。
 
【xlsxwriter.exceptions】
exceptions, fullname=xlsxwriter.exceptions, file=xlsxwriter\exceptions.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 10 | class | 12 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 20 | 
常量
类
1 xlsxwriter.exceptions.XlsxWriterException
XlsxWriterException, xlsxwriter.exceptions.XlsxWriterException, module=xlsxwriter.exceptions
XlsxWriter的基本异常。
 
2 xlsxwriter.exceptions.XlsxInputError
XlsxInputError, xlsxwriter.exceptions.XlsxInputError, module=xlsxwriter.exceptions
所有输入数据相关错误的基本异常。
 
3 xlsxwriter.exceptions.XlsxFileError
XlsxFileError, xlsxwriter.exceptions.XlsxFileError, module=xlsxwriter.exceptions
所有文件相关错误的基本异常。
 
4 xlsxwriter.exceptions.EmptyChartSeries
EmptyChartSeries, xlsxwriter.exceptions.EmptyChartSeries, module=xlsxwriter.exceptions
图表必须包含至少一个数据序列。
 
5 xlsxwriter.exceptions.DuplicateTableName
DuplicateTableName, xlsxwriter.exceptions.DuplicateTableName, module=xlsxwriter.exceptions
工作表名称已存在。
 
6 xlsxwriter.exceptions.InvalidWorksheetName
InvalidWorksheetName, xlsxwriter.exceptions.InvalidWorksheetName, module=xlsxwriter.exceptions
工作表名称过长或包含限制字符。
 
7 xlsxwriter.exceptions.DuplicateWorksheetName
DuplicateWorksheetName, xlsxwriter.exceptions.DuplicateWorksheetName, module=xlsxwriter.exceptions
工作表名称已存在。
 
8 xlsxwriter.exceptions.OverlappingRange
OverlappingRange, xlsxwriter.exceptions.OverlappingRange, module=xlsxwriter.exceptions
工作表合并范围或表重叠先前的范围。
 
9 xlsxwriter.exceptions.UndefinedImageSize
UndefinedImageSize, xlsxwriter.exceptions.UndefinedImageSize, module=xlsxwriter.exceptions
在图像文件中没有发现大小数据。
 
10 xlsxwriter.exceptions.UnsupportedImageFormat
UnsupportedImageFormat, xlsxwriter.exceptions.UnsupportedImageFormat, module=xlsxwriter.exceptions
不支持的图像文件格式。
 
11 xlsxwriter.exceptions.FileCreateError
FileCreateError, xlsxwriter.exceptions.FileCreateError, module=xlsxwriter.exceptions
创建xlsx文件时,IO错误。
 
12 xlsxwriter.exceptions.FileSizeError
FileSizeError, xlsxwriter.exceptions.FileSizeError, module=xlsxwriter.exceptions
文件大小需要ZIP64扩展。使用workbook.use_zip64()。
 
【xlsxwriter.worksheet】
worksheet, fullname=xlsxwriter.worksheet, file=xlsxwriter\worksheet.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 6 | 
| 10 | class | 19 | 
| 11 | function | 17 | 
| 12 | builtin_function_or_method | 3 | 
| 13 | residual | 6 | 
| 14 | system | 8 | 
| 16 | all | 56 | 
常量
模块
1 datetime
datetime, fullname=datetime, file=datetime.py
datetime类型的快速实现。
 
2 math
math, fullname=math, file=
该模块提供了对C标准定义的数学函数的访问。
 
3 os
os, fullname=os, file=os.py
4 re
re, fullname=re, file=re.py
5 tempfile
tempfile, fullname=tempfile, file=tempfile.py
临时文件。该模块提供了用于创建临时文件和目录的通用、低级和高级接口
 
6 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
函数
7 namedtuple(typename, field_names, *, rename=False, defaults=None, module=None)
namedtuple(typename, field_names, *, rename=False, defaults=None, module=None), module=collections, line:316 at collections_init_.py
8 wraps(wrapped, assigned=(‘module’, ‘name’, ‘qualname’, ‘doc’, ‘annotations’), updated=(‘dict’,))
wraps(wrapped, assigned=(‘module’, ‘name’, ‘qualname’, ‘doc’, ‘annotations’), updated=(‘dict’,)), module=functools, line:67 at functools.py
将update wrapper()应用于包装器函数的装饰器工厂返回一个调用update wrapper()的装饰
 
9 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False), module=xlsxwriter.utility, line:35 at site-packages\xlsxwriter\utility.py
10 xl_rowcol_to_cell_fast(row, col)
xl_rowcol_to_cell_fast(row, col), module=xlsxwriter.utility, line:65 at site-packages\xlsxwriter\utility.py
11 xl_cell_to_rowcol(cell_str)
xl_cell_to_rowcol(cell_str), module=xlsxwriter.utility, line:126 at site-packages\xlsxwriter\utility.py
12 xl_col_to_name(col, col_abs=False)
xl_col_to_name(col, col_abs=False), module=xlsxwriter.utility, line:86 at site-packages\xlsxwriter\utility.py
13 xl_range(first_row, first_col, last_row, last_col)
xl_range(first_row, first_col, last_row, last_col), module=xlsxwriter.utility, line:204 at site-packages\xlsxwriter\utility.py
14 xl_color(color)
xl_color(color), module=xlsxwriter.utility, line:326 at site-packages\xlsxwriter\utility.py
15 xl_pixel_width(string)
16 get_sparkline_style(style_id)
get_sparkline_style(style_id), module=xlsxwriter.utility, line:369 at site-packages\xlsxwriter\utility.py
17 supported_datetime(dt)
supported_datetime(dt), module=xlsxwriter.utility, line:672 at site-packages\xlsxwriter\utility.py
18 datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone)
datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone), module=xlsxwriter.utility, line:696 at site-packages\xlsxwriter\utility.py
19 preserve_whitespace(string)
preserve_whitespace(string), module=xlsxwriter.utility, line:748 at site-packages\xlsxwriter\utility.py
20 quote_sheetname(sheetname)
quote_sheetname(sheetname), module=xlsxwriter.utility, line:281 at site-packages\xlsxwriter\utility.py
21 convert_cell_args(method)
convert_cell_args(method), module=xlsxwriter.worksheet, line:71 at site-packages\xlsxwriter\worksheet.py
函数将单元格方法调用中的A1表示法转换为默认的row/col表示法。
 
22 convert_range_args(method)
convert_range_args(method), module=xlsxwriter.worksheet, line:95 at site-packages\xlsxwriter\worksheet.py
将范围方法调用中的A1表示法转换为默认的row/col表示法。
 
23 convert_column_args(method)
convert_column_args(method), module=xlsxwriter.worksheet, line:127 at site-packages\xlsxwriter\worksheet.py
将columns方法调用中的A1表示法转换为默认的row/col表示法。
 
类
24 collections.defaultdict
defaultdict, collections.defaultdict, module=collections, line:-1 at collections_init_.py
默认工厂不带参数调用,当键不存在时产生一个新值,仅在getitem中。
 
25 decimal.Decimal
Decimal, decimal.Decimal, module=decimal
构造一个新的Decimal对象。
 
26 fractions.Fraction
Fraction, fractions.Fraction, module=fractions
该类实现有理数。
 
27 _io.StringIO
StringIO, _io.StringIO, module=_io, line:0 at
28 xlsxwriter.format.Format
Format, xlsxwriter.format.Format, module=xlsxwriter.format, line:0 at
见前
29 xlsxwriter.drawing.Drawing
Drawing, xlsxwriter.drawing.Drawing, module=xlsxwriter.drawing, line:0 at
30 xlsxwriter.shape.Shape
Shape, xlsxwriter.shape.Shape, module=xlsxwriter.shape, line:0 at
31 xlsxwriter.xmlwriter.XMLwriter
XMLwriter, xlsxwriter.xmlwriter.XMLwriter, module=xlsxwriter.xmlwriter, line:0 at
32 xlsxwriter.exceptions.DuplicateTableName
DuplicateTableName, xlsxwriter.exceptions.DuplicateTableName, module=xlsxwriter.exceptions, line:0 at
33 xlsxwriter.exceptions.OverlappingRange
OverlappingRange, xlsxwriter.exceptions.OverlappingRange, module=xlsxwriter.exceptions, line:0 at
34 xlsxwriter.worksheet.String
String, xlsxwriter.worksheet.String, module=xlsxwriter.worksheet
String(string, format)
 
property
1 format=<property object at 0x0000000002AB2EF8> kind:property type:property class:<class ‘xlsxwriter.worksheet.String’>
2 string=<property object at 0x0000000002AB2EA8> kind:property type:property class:<class ‘xlsxwriter.worksheet.String’>
35 xlsxwriter.worksheet.Number
Number, xlsxwriter.worksheet.Number, module=xlsxwriter.worksheet
Number(number, format)
 
property
1 format=<property object at 0x0000000002AB7228> kind:property type:property class:<class ‘xlsxwriter.worksheet.Number’>
2 number=<property object at 0x0000000002AB71D8> kind:property type:property class:<class ‘xlsxwriter.worksheet.Number’>
36 xlsxwriter.worksheet.Blank
Blank, xlsxwriter.worksheet.Blank, module=xlsxwriter.worksheet
Blank(format,)
 
property
1 format=<property object at 0x0000000002AB7458> kind:property type:property class:<class ‘xlsxwriter.worksheet.Blank’>
37 xlsxwriter.worksheet.Boolean
Boolean, xlsxwriter.worksheet.Boolean, module=xlsxwriter.worksheet
Boolean(boolean, format)
 
property
1 boolean=<property object at 0x0000000002AB77C8> kind:property type:property class:<class ‘xlsxwriter.worksheet.Boolean’>
2 format=<property object at 0x0000000002AB7818> kind:property type:property class:<class ‘xlsxwriter.worksheet.Boolean’>
38 xlsxwriter.worksheet.Formula
Formula, xlsxwriter.worksheet.Formula, module=xlsxwriter.worksheet
Formula(formula, format, value)
 
property
1 format=<property object at 0x0000000002AB7CC8> kind:property type:property class:<class ‘xlsxwriter.worksheet.Formula’>
2 formula=<property object at 0x0000000002AB7C78> kind:property type:property class:<class ‘xlsxwriter.worksheet.Formula’>
3 value=<property object at 0x0000000002AB7D18> kind:property type:property class:<class ‘xlsxwriter.worksheet.Formula’>
39 xlsxwriter.worksheet.Datetime
Datetime, xlsxwriter.worksheet.Datetime, module=xlsxwriter.worksheet
Datetime(number, format)
 
property
1 format=<property object at 0x0000000002ABB278> kind:property type:property class:<class ‘xlsxwriter.worksheet.Datetime’>
2 number=<property object at 0x0000000002ABB228> kind:property type:property class:<class ‘xlsxwriter.worksheet.Datetime’>
40 xlsxwriter.worksheet.ArrayFormula
ArrayFormula, xlsxwriter.worksheet.ArrayFormula, module=xlsxwriter.worksheet
ArrayFormula(formula, format, value, range, atype)
 
property
1 atype=<property object at 0x0000000002ABB818> kind:property type:property class:<class ‘xlsxwriter.worksheet.ArrayFormula’>
2 format=<property object at 0x0000000002ABB728> kind:property type:property class:<class ‘xlsxwriter.worksheet.ArrayFormula’>
3 formula=<property object at 0x0000000002ABB6D8> kind:property type:property class:<class ‘xlsxwriter.worksheet.ArrayFormula’>
4 range=<property object at 0x0000000002ABB7C8> kind:property type:property class:<class ‘xlsxwriter.worksheet.ArrayFormula’>
5 value=<property object at 0x0000000002ABB778> kind:property type:property class:<class ‘xlsxwriter.worksheet.ArrayFormula’>
41 xlsxwriter.worksheet.RichString
RichString, xlsxwriter.worksheet.RichString, module=xlsxwriter.worksheet
RichString(string, format, raw_string)
 
property
1 format=<property object at 0x0000000002ABBD68> kind:property type:property class:<class ‘xlsxwriter.worksheet.RichString’>
2 raw_string=<property object at 0x0000000002ABBDB8> kind:property type:property class:<class ‘xlsxwriter.worksheet.RichString’>
3 string=<property object at 0x0000000002ABBD18> kind:property type:property class:<class ‘xlsxwriter.worksheet.RichString’>
42 xlsxwriter.worksheet.Worksheet
Worksheet, xlsxwriter.worksheet.Worksheet, module=xlsxwriter.worksheet
用于编写Excel XLSX工作表文件的类。
 
method
1 activate()
kind=method class=Worksheet objtype=function
将此工作表设置为活动工作表,即工作簿打开时显示的工作表。也将其设置为选中。注意:活动工作表不能被隐藏。        displayed when the workbook is opened. Also set it as selected.Note: An active worksheet cannot be hidden.参数:None.返回:无。
 
2 add_sparkline()
kind=method class=Worksheet objtype=function
在工作表中添加sparkline。参数:row:     单元格列(零索引)。col:     单元格列(零索引)。options: Sparkline formatting options.返回:0:  成功。-1: 列或行超出范围。-2: Incorrect parameter or option.
 
3 add_table()
kind=method class=Worksheet objtype=function
将Excel表格添加到工作表中。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。options:      Table format options. (Optional)返回:0:  成功。-1: 列或行超出范围。-2: Incorrect parameter or option.-3: Not supported in constant_memory mode.
 
4 add_write_handler()
kind=method class=Worksheet objtype=function
向write()方法添加回调函数以处理用户定义的类型。参数:user_type:      The user type() to match on.user_function:  The user defined function to write the type data.返回:无。
 
5 autofilter()
kind=method class=Worksheet objtype=function
在工作表中设置自动筛选区域。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。返回:无。
 
6 autofit()
kind=method class=Worksheet objtype=function
根据每列中的数据和数据类型模拟自动拟合。        参数:None.返回:无。
 
7 center_horizontally()
kind=method class=Worksheet objtype=function
将页面水平居中。        参数:None.返回:无。
 
8 center_vertically()
kind=method class=Worksheet objtype=function
将页面垂直居中。        参数:None.返回:无。
 
9 conditional_format()
kind=method class=Worksheet objtype=function
向工作表添加条件格式。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。options:      Conditional format options.返回:0:  成功。-1: 列或行超出范围。-2: Incorrect parameter or option.
 
10 data_validation()
kind=method class=Worksheet objtype=function
向工作表添加数据验证。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。options:      Data validation options.返回:0:  成功。-1: 列或行超出范围。-2: Incorrect parameter or option.
 
11 filter_column()
kind=method class=Worksheet objtype=function
设置列筛选条件。参数:col:       Filter column (zero-indexed).criteria:  Filter criteria.返回:无。
 
12 filter_column_list()
kind=method class=Worksheet objtype=function
以excel2007列表样式设置列筛选条件。参数:col:      Filter column (zero-indexed).filters:  List of filter criteria to match.返回:无。
 
13 fit_to_pages()
kind=method class=Worksheet objtype=function
将打印区域垂直和水平对齐到特定的页数。参数:width:  Number of pages horizontally.height: Number of pages vertically.返回:无。
 
14 freeze_panes()
kind=method class=Worksheet objtype=function
创建工作表窗格并将其标记为冻结。参数:row:      单元格列(零索引)。col:      单元格列(零索引)。top_row:  Topmost visible row in scrolling region of pane.left_col: Leftmost visible row in scrolling region of pane.返回:0:  Nothing.
 
15 get_name()
kind=method class=Worksheet objtype=function
        检索工作表名称。参数:None.返回:无。
 
16 hide()
kind=method class=Worksheet objtype=function
隐藏当前工作表。        参数:None.返回:无。
 
17 hide_gridlines()
kind=method class=Worksheet objtype=function
设置隐藏屏幕和打印页面上的网格线的选项。        参数:option:    0 : Don't hide gridlines1 : Hide printed gridlines only2 : Hide screen and printed gridlines返回:无。
 
18 hide_row_col_headers()
kind=method class=Worksheet objtype=function
设置该选项以隐藏工作表上的行标题和列标题。        参数:None.返回:无。
 
19 hide_zero()
kind=method class=Worksheet objtype=function
        在工作表单元格中隐藏零值。参数:None.返回:无。
 
20 ignore_errors()
kind=method class=Worksheet objtype=function
忽略工作表中用户定义范围的各种Excel错误/警告。参数:options: 一个包含忽略错误键和单元格范围值的字典。返回:0: 成功。-1: 参数或选项错误。
 
21 insert_button()
kind=method class=Worksheet objtype=function
将按钮窗体对象插入工作表中。参数:row:     单元格列(零索引)。col:     单元格列(零索引)。options: 按钮格式化选项。返回:0:  成功。-1: 列或行超出范围。
 
22 insert_chart()
kind=method class=Worksheet objtype=function
在工作表单元格中插入左上角的图表。参数:row:     单元格列(零索引)。col:     单元格列(零索引)。chart:   Chart object.options: 图表的位置和比例。返回:0:  成功。-1: 列或行超出范围。
 
23 insert_image()
kind=method class=Worksheet objtype=function
在工作表单元格中插入具有左上角的图像。参数:row:      单元格列(零索引)。col:      单元格列(零索引)。filename: 支持格式的路径和文件名。options:  选项:位置,比例,url和图像的数据流。返回:0:  成功。-1: 列或行超出范围。
 
24 insert_textbox()
kind=method class=Worksheet objtype=function
在工作表单元格中插入具有左上角的文本框。参数:row:      单元格列(零索引)。col:      单元格列(零索引)。text:     文本框的文本。options:  文本框选项。返回:0:  成功。-1: 列或行超出范围。
 
25 merge_range()
kind=method class=Worksheet objtype=function
合并一系列单元格。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。data:         单元格数据。cell_format:  单元格格式对象。返回:0:    成功。-1:    列或行超出范围。other: Return value of write().
 
26 outline_settings()
kind=method class=Worksheet objtype=function
控制轮廓设置。        参数:visible:       Outlines are visible. Optional, defaults to True.symbols_below: Show row outline symbols below the outline bar.Optional, defaults to True.symbols_right: Show column outline symbols to the right of theoutline bar. Optional, defaults to True.auto_style:    Use Automatic style. Optional, defaults to False.返回:0:  Nothing.
 
27 print_across()
kind=method class=Worksheet objtype=function
设置打印页面的顺序。        参数:None.返回:无。
 
28 print_area()
kind=method class=Worksheet objtype=function
设置当前工作表中的打印区域。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。返回:0:  成功。-1: 列或行超出范围。
 
29 print_black_and_white()
kind=method class=Worksheet objtype=function
设置该选项以黑白打印工作表。        参数:None.返回:无。
 
30 print_row_col_headers()
kind=method class=Worksheet objtype=function
设置该选项以在打印的页面上打印行标题和列标题。        参数:None.返回:无。
 
31 protect()
kind=method class=Worksheet objtype=function
设置工作表的密码和保护选项。        参数:password: An optional password string.options:  A dictionary of worksheet objects to protect.返回:无。
 
32 repeat_columns()
kind=method class=Worksheet objtype=function
在每个打印页面的左侧设置重复的列。        参数:first_col: Start column for range.last_col: End column for range.返回:无。
 
33 repeat_rows()
kind=method class=Worksheet objtype=function
将打印页顶部的行设置为重复。        参数:first_row: Start row for range.last_row: End row for range.返回:无。
 
34 right_to_left()
kind=method class=Worksheet objtype=function
对于某些版本的Excel,从右向左显示工作表。        参数:None.返回:无。
 
35 select()
kind=method class=Worksheet objtype=function
将当前工作表设置为选中的工作表,即工作表的选项卡突出显示。注意:所选工作表不能隐藏。参数:None.返回:无。
 
36 set_background()
kind=method class=Worksheet objtype=function
为工作表设置背景图像。        参数:filename:       Path and filename for in supported formats.is_byte_stream: File is a stream of bytes.返回:无。
 
37 set_column()
kind=method class=Worksheet objtype=function
设置单个列或列范围的宽度和其他属性。参数:first_col:   First column (zero-indexed).last_col:    Last column (zero-indexed). Can be same as first_col.width:       Column width. (optional).cell_format: Column cell_format. (optional).options:     Dict of options such as hidden and level.返回:0:  成功。-1: Column number is out of worksheet bounds.
 
38 set_column_pixels()
kind=method class=Worksheet objtype=function
设置单列或列范围的宽度和其他属性,其中列宽度以像素为单位。参数:first_col:   First column (zero-indexed).last_col:    Last column (zero-indexed). Can be same as first_col.width:       Column width in pixels. (optional).cell_format: Column cell_format. (optional).options:     Dict of options such as hidden and level.返回:0:  成功。-1: Column number is out of worksheet bounds.
 
39 set_comments_author()
kind=method class=Worksheet objtype=function
设置单元格注释的默认作者。        参数:author: Comment author name. String.返回:无。
 
40 set_default_row()
kind=method class=Worksheet objtype=function
设置默认行属性。        参数:height:           Default height. Optional, defaults to 15.hide_unused_rows: Hide unused rows. Optional, defaults to False.返回:无。
 
41 set_first_sheet()
kind=method class=Worksheet objtype=function
将当前工作表设置为第一个可见工作表。当有大量的工作表,激活的工作表在屏幕上不可见时,这是必要的。注意:所选工作表不能隐藏。参数:None.返回:无。
 
42 set_footer()
kind=method class=Worksheet objtype=function
设置页脚标题和可选边距。        参数:footer:  Footer string.margin:  Footer margin.options: Footer options, mainly for images.返回:无。
 
43 set_h_pagebreaks()
kind=method class=Worksheet objtype=function
在工作表上设置水平换页符。        参数:breaks: List of rows where the page breaks should be added.返回:无。
 
44 set_header()
kind=method class=Worksheet objtype=function
设置页眉标题和可选边距。        参数:header:  Header string.margin:  Header margin.options: Header options, mainly for images.返回:无。
 
45 set_landscape()
kind=method class=Worksheet objtype=function
将页面方向设置为横向。        参数:None.返回:无。
 
46 set_margins()
kind=method class=Worksheet objtype=function
设置所有页边距为英寸。        参数:left:   Left margin.right:  Right margin.top:    Top margin.bottom: Bottom margin.返回:无。
 
47 set_page_view()
kind=method class=Worksheet objtype=function
设置页面查看模式。        参数:None.返回:无。
 
48 set_paper()
kind=method class=Worksheet objtype=function
设置纸张类型。美国字母= 1,A4 = 9。        参数:paper_size: Paper index.返回:无。
 
49 set_portrait()
kind=method class=Worksheet objtype=function
将页面方向设置为纵向。        参数:None.返回:无。
 
50 set_print_scale()
kind=method class=Worksheet objtype=function
设置打印页面的比例因子。参数:scale: Print scale. 10 <= scale <= 400.返回:无。
 
51 set_row()
kind=method class=Worksheet objtype=function
设置一行的宽度和其他属性。参数:row:         Row number (zero-indexed).height:      Row height. (optional).cell_format: Row cell_format. (optional).options:     Dict of options such as hidden, level and collapsed.返回:0:  成功。-1: Row number is out of worksheet bounds.
 
52 set_row_pixels()
kind=method class=Worksheet objtype=function
设置一行的宽度(以像素为单位)和其他属性。参数:row:         Row number (zero-indexed).height:      Row height in pixels. (optional).cell_format: Row cell_format. (optional).options:     Dict of options such as hidden, level and collapsed.返回:0:  成功。-1: Row number is out of worksheet bounds.
 
53 set_selection()
kind=method class=Worksheet objtype=function
在工作表中设置选定的单元格。        参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。返回:0:  Nothing.
 
54 set_start_page()
kind=method class=Worksheet objtype=function
打印时设置起始页码。        参数:start_page: Start page number.返回:无。
 
55 set_tab_color()
kind=method class=Worksheet objtype=function
设置工作表选项卡的颜色。        参数:color: A #RGB color index.返回:无。
 
56 set_top_left_cell()
kind=method class=Worksheet objtype=function
在工作表的左上方设置第一个可见单元格。参数:row: 单元格列(零索引)。col: 单元格列(零索引)。返回:0:  Nothing.
 
57 set_v_pagebreaks()
kind=method class=Worksheet objtype=function
在工作表上设置水平换页符。        参数:breaks: List of columns where the page breaks should be added.返回:无。
 
58 set_vba_name()
kind=method class=Worksheet objtype=function
为工作表设置VBA名称。默认情况下,这与表名相同:即Sheet1等。参数:name: The VBA name for the worksheet.返回:无。
 
59 set_zoom()
kind=method class=Worksheet objtype=function
设置工作表缩放因子。        参数:zoom: Scale factor: 10 <= zoom <= 400.返回:无。
 
60 show_comments()
kind=method class=Worksheet objtype=function
使工作表中的任何注释可见。        参数:None.返回:无。
 
61 split_panes()
kind=method class=Worksheet objtype=function
创建工作表窗格并将其标记为分割。        参数:x:        The position for the vertical split.y:        The position for the horizontal split.top_row:  Topmost visible row in scrolling region of pane.left_col: Leftmost visible row in scrolling region of pane.返回:0:  Nothing.
 
62 unprotect_range()
kind=method class=Worksheet objtype=function
取消受保护工作表中的保护范围。参数:cell_range: The cell or cell range to unprotect.range_name: An optional name for the range.password:   An optional password string. (undocumented)返回:无。
 
63 write()
kind=method class=Worksheet objtype=function
根据传递的数据类型调用适当的 write_*() 方法,将数据写入工作表单元格。row:单元格行(零索引)。col:单元格列(零索引)。参数:row:   单元格列(零索引)。col:   单元格列(零索引)。*args: Args to pass to sub functions.返回:0:    成功。-1:    列或行超出范围。other: Return value of called method.
 
64 write_array_formula()
kind=method class=Worksheet objtype=function
将公式写入工作表单元格/范围。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。formula:      单元格公式。cell_format:  可选的单元格 Format 对象。value:        公式的可选值。默认值为0。返回:0:  成功。-1: 列或行超出范围。
 
65 write_blank()
kind=method class=Worksheet objtype=function
将带有格式的空白单元格写入工作表单元格。空白令牌将被忽略,格式仅被写入单元格。参数:row:         单元格列(零索引)。col:         单元格列(零索引)。blank:       Any value. It is ignored.cell_format: 可选的单元格 Format 对象。返回:0:  成功。-1: 列或行超出范围。
 
66 write_boolean()
kind=method class=Worksheet objtype=function
将布尔值写入工作表单元格。参数:row:         单元格列(零索引)。col:         单元格列(零索引)。boolean:     Cell data. bool type.cell_format: 可选的单元格 Format 对象。返回:0:  成功。-1: 列或行超出范围。
 
67 write_column()
kind=method class=Worksheet objtype=function
从(row, col)开始写入一列数据。参数:row:    单元格列(零索引)。col:    单元格列(零索引)。data:   A list of tokens to be written with write().format: 可选的单元格 Format 对象。返回:0:  成功。other: Return value of write() method.
 
68 write_comment()
kind=method class=Worksheet objtype=function
向工作表单元格写入注释。参数:row:     单元格列(零索引)。col:     单元格列(零索引)。comment: Cell comment. Str.options: Comment formatting options.返回:0:  成功。-1: 列或行超出范围。-2: String longer than 32k characters.
 
69 write_datetime()
kind=method class=Worksheet objtype=function
将日期或时间写入工作表单元格。参数:row:         单元格列(零索引)。col:         单元格列(零索引)。date:        Date and/or time as a datetime object.cell_format: A cell Format object.返回:0:  成功。-1: 列或行超出范围。
 
70 write_dynamic_array_formula()
kind=method class=Worksheet objtype=function
将动态数组公式写入工作表单元格/范围。参数:first_row:    单元格范围的第一行。first_col:    单元格范围的第一列。last_row:     单元格范围的最后一行。(零索引)。last_col:     单元格范围的最后一列。formula:      单元格公式。cell_format:  可选的单元格 Format 对象。value:        公式的可选值。默认值为0。返回:0:  成功。-1: 列或行超出范围。
 
71 write_formula()
kind=method class=Worksheet objtype=function
将公式写入工作表单元格。参数:row:         单元格列(零索引)。col:         单元格列(零索引)。formula:     单元格公式。cell_format: 可选的单元格 Format 对象。value:       公式的可选值。默认值为0。返回:0:  成功。-1: 列或行超出范围。-2: Formula can't be None or empty.
 
72 write_number()
kind=method class=Worksheet objtype=function
        将数字写入工作表单元格。参数:row:         单元格列(零索引)。col:         单元格列(零索引)。number:      Cell data. Int or float.cell_format: 可选的单元格 Format 对象。返回:0:  成功。-1: 列或行超出范围。
 
73 write_rich_string()
kind=method class=Worksheet objtype=function
将具有多种格式的“富”字符串写入工作表单元格。参数:row:          单元格列(零索引)。col:          单元格列(零索引)。string_parts: String and format pairs.cell_format:  Optional Format object.返回:0:  成功。-1: 列或行超出范围。-2: String truncated to 32k characters.-3: 2 consecutive formats used.-4: Empty string used.-5: Insufficient parameters.
 
74 write_row()
kind=method class=Worksheet objtype=function
从(row, col)开始写一行数据。参数:row:    单元格列(零索引)。col:    单元格列(零索引)。data:   A list of tokens to be written with write().format: 可选的单元格 Format 对象。返回:0:  成功。other: Return value of write() method.
 
75 write_string()
kind=method class=Worksheet objtype=function
将字符串写入工作表单元格。参数:row:    单元格列(零索引)。col:    单元格列(零索引)。string: Cell data. Str.format: 可选的单元格 Format 对象。返回:0:  成功。-1: 列或行超出范围。-2: String truncated to 32k characters.
 
76 write_url()
kind=method class=Worksheet objtype=function
编写到工作表单元格的超链接。参数:row:    单元格列(零索引)。col:    单元格列(零索引)。url:    Hyperlink url.format: 可选的单元格 Format 对象。string: An optional display string for the hyperlink.tip:    An optional tooltip.返回:0:  成功。-1: 列或行超出范围。-2: String longer than 32767 characters.-3: URL longer than Excel limit of 255 characters.-4: Exceeds Excel limit of 65,530 urls per worksheet.
 
内嵌函数或方法
43 isinf
44 isnan
45 warn
剩余
46 doc
47 loader <_frozen_importlib_external.SourceFileLoader object at 0x00000000029FC348>
48 spec ModuleSpec(name=‘xlsxwriter.worksheet’, loader=<_frozen_importlib_external.SourceFileLoader object at 0x00000000029FC348>, origin=‘D:\AhPython\venv\lib\site-packages\xlsxwriter\worksheet.py’)
49 re_control_chars_1 re.compile(‘(x[0-9a-fA-F]{4})’)
50 re_control_chars_2 re.compile(‘([\x00-\x08\x0b-\x1f])’)
51 re_dynamic_function re.compile('\n \bSORT\( |\n \bLET\( |\n \bLAMBDA\( |\n \bSINGLE\( |\n \bSORTBY\( |\n \bUNIQUE\( |\n \bXMATCH\( |\n \bFILTER\( |\n , re.VERBOSE)
【xlsxwriter.chartsheet】
chartsheet, fullname=xlsxwriter.chartsheet, file=xlsxwriter\chartsheet.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 2 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.worksheet
worksheet, fullname=xlsxwriter.worksheet, file=xlsxwriter\worksheet.py
类
2 xlsxwriter.drawing.Drawing
Drawing, xlsxwriter.drawing.Drawing, module=xlsxwriter.drawing
用于编写Excel XLSX绘图文件的类。
 
3 xlsxwriter.chartsheet.Chartsheet
Chartsheet, xlsxwriter.chartsheet.Chartsheet, module=xlsxwriter.chartsheet
用于编写Excel XLSX图表文件的类。
 
method
1 protect()
kind=method class=Chartsheet objtype=function
设置工作表的密码和保护选项。参数:password: An optional password string.options:  A dictionary of worksheet objects to protect.返回:无。
 
2 set_chart()
kind=method class=Chartsheet objtype=function
为图表表设置图表对象。参数:chart:  Chart object.返回:chart:  A reference to the chart object.
 
【xlsxwriter.sharedstrings】
sharedstrings, fullname=xlsxwriter.sharedstrings, file=xlsxwriter\sharedstrings.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 2 | 
| 10 | class | 2 | 
| 11 | function | 1 | 
| 13 | residual | 5 | 
| 14 | system | 8 | 
| 16 | all | 15 | 
常量
模块
1 re
re, fullname=re, file=re.py
2 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
函数
3 preserve_whitespace(string)
preserve_whitespace(string), module=xlsxwriter.utility, line:748 at site-packages\xlsxwriter\utility.py
类
4 xlsxwriter.sharedstrings.SharedStrings
SharedStrings, xlsxwriter.sharedstrings.SharedStrings, module=xlsxwriter.sharedstrings
用于写入Excel XLSX sharedStrings文件的类。
 
5 xlsxwriter.sharedstrings.SharedStringTable
SharedStringTable, xlsxwriter.sharedstrings.SharedStringTable, module=xlsxwriter.sharedstrings
在工作表之间跟踪Excel共享字符串的类。
 
剩余
6 doc
7 loader <_frozen_importlib_external.SourceFileLoader object at 0x0000000002ABCF88>
8 spec ModuleSpec(name=‘xlsxwriter.sharedstrings’, loader=<_frozen_importlib_external.SourceFileLoader object at 0x0000000002ABCF88>, origin=‘D:\AhPython\venv\lib\site-packages\xlsxwriter\sharedstrings.py’)
9 re_control_chars_1 re.compile(‘(x[0-9a-fA-F]{4})’)
10 re_control_chars_2 re.compile(‘([\x00-\x08\x0b-\x1f])’)
【xlsxwriter.app】
app, fullname=xlsxwriter.app, file=xlsxwriter\app.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.app.App
App, xlsxwriter.app.App, module=xlsxwriter.app
用于编写Excel XLSX应用程序文件的类。
 
【xlsxwriter.contenttypes】
contenttypes, fullname=xlsxwriter.contenttypes, file=xlsxwriter\contenttypes.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 6 | 
| 6 | list | 2 | 
| 8 | dict | 1 | 
| 9 | module | 2 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 15 | 
常量
str
1 app_package application/vnd.openxmlformats-package.
2 app_document application/vnd.openxmlformats-officedocument.
list
3 defaults [[‘rels’, ‘application/vnd.openxmlformats-package.relationships+xml’], [‘xml’, ‘application/xml’]]
4 overrides [[‘/docProps/app.xml’, ‘application/vnd.openxmlformats-officedocument.extended-properties+xml’], [‘/docProps/core.xml’, …
模块
5 copy
copy, fullname=copy, file=copy.py
6 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
7 xlsxwriter.contenttypes.ContentTypes
ContentTypes, xlsxwriter.contenttypes.ContentTypes, module=xlsxwriter.contenttypes
用于编写Excel XLSX ContentTypes文件的类。
 
【xlsxwriter.core】
core, fullname=xlsxwriter.core, file=xlsxwriter\core.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 2 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 datetime.datetime
datetime, datetime.datetime, module=datetime
datetime(年,月,日[,小时[,分钟[,秒[,微秒[,tzinfo]]]]])年,月和日参数是必需的。tzinfo可以是None,也可以是tzinfo子类的实例。其余的参数可以是int型。
 
3 xlsxwriter.core.Core
Core, xlsxwriter.core.Core, module=xlsxwriter.core
用于编写Excel XLSX Core文件的类。
 
【xlsxwriter.custom】
custom, fullname=xlsxwriter.custom, file=xlsxwriter\custom.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.custom.Custom
Custom, xlsxwriter.custom.Custom, module=xlsxwriter.custom
用于编写Excel XLSX自定义工作簿属性文件的类。
 
【xlsxwriter.metadata】
metadata, fullname=xlsxwriter.metadata, file=xlsxwriter\metadata.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.metadata.Metadata
Metadata, xlsxwriter.metadata.Metadata, module=xlsxwriter.metadata
用于写入Excel XLSX元数据文件的类。
 
【xlsxwriter.relationships】
relationships, fullname=xlsxwriter.relationships, file=xlsxwriter\relationships.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 7 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 13 | 
常量
str
1 schema_root
2 package_schema
3 document_schema
模块
4 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
5 xlsxwriter.relationships.Relationships
Relationships, xlsxwriter.relationships.Relationships, module=xlsxwriter.relationships
用于编写Excel XLSX Relationships文件的类。
 
【xlsxwriter.styles】
styles, fullname=xlsxwriter.styles, file=xlsxwriter\styles.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.styles.Styles
Styles, xlsxwriter.styles.Styles, module=xlsxwriter.styles
用于编写Excel XLSX样式文件的类。
 
【xlsxwriter.theme】
theme, fullname=xlsxwriter.theme, file=xlsxwriter\theme.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 10 | class | 2 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
类
1 _io.StringIO
2 xlsxwriter.theme.Theme
Theme, xlsxwriter.theme.Theme, module=xlsxwriter.theme
用于编写Excel XLSX主题文件的类。
 
【xlsxwriter.vml】
vml, fullname=xlsxwriter.vml, file=xlsxwriter\vml.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.vml.Vml
Vml, xlsxwriter.vml.Vml, module=xlsxwriter.vml
用于编写Excel XLSX Vml文件的类。
 
【xlsxwriter.table】
table, fullname=xlsxwriter.table, file=xlsxwriter\table.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
类
2 xlsxwriter.table.Table
Table, xlsxwriter.table.Table, module=xlsxwriter.table
用于写入Excel XLSX表文件的类。
 
【xlsxwriter.comments】
comments, fullname=xlsxwriter.comments, file=xlsxwriter\comments.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 11 | function | 2 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 12 | 
常量
模块
1 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
函数
2 preserve_whitespace(string)
preserve_whitespace(string), module=xlsxwriter.utility, line:748 at site-packages\xlsxwriter\utility.py
3 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False), module=xlsxwriter.utility, line:35 at site-packages\xlsxwriter\utility.py
类
4 xlsxwriter.comments.Comments
Comments, xlsxwriter.comments.Comments, module=xlsxwriter.comments
用于编写Excel XLSX Comments文件的类。
 
【xlsxwriter.packager】
packager, fullname=xlsxwriter.packager, file=xlsxwriter\packager.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 3 | 
| 10 | class | 16 | 
| 11 | function | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 28 | 
常量
模块
1 os
os, fullname=os, file=os.py
2 stat
stat, fullname=stat, file=stat.py
3 tempfile
tempfile, fullname=tempfile, file=tempfile.py
函数
4 copy(src, dst, *, follow_symlinks=True)
copy(src, dst, *, follow_symlinks=True), module=shutil, line:234 at shutil.py
复制数据和模式位("cp src dst")。返回文件的目的地。目标可以是一个目录。
如果follow symlinks为false,则symlinks将不会被跟踪。这类似于GNU的“cp -P src dst”。
如果源文件和目标文件是同一个文件,则会引发SameFileError异常。
 
类
5 _io.StringIO
6 _io.BytesIO
BytesIO, _io.BytesIO, module=_io, line:0 at
7 xlsxwriter.app.App
App, xlsxwriter.app.App, module=xlsxwriter.app, line:0 at
8 xlsxwriter.contenttypes.ContentTypes
ContentTypes, xlsxwriter.contenttypes.ContentTypes, module=xlsxwriter.contenttypes, line:0 at
9 xlsxwriter.core.Core
Core, xlsxwriter.core.Core, module=xlsxwriter.core, line:0 at
10 xlsxwriter.custom.Custom
Custom, xlsxwriter.custom.Custom, module=xlsxwriter.custom, line:0 at
11 xlsxwriter.metadata.Metadata
Metadata, xlsxwriter.metadata.Metadata, module=xlsxwriter.metadata, line:0 at
12 xlsxwriter.relationships.Relationships
Relationships, xlsxwriter.relationships.Relationships, module=xlsxwriter.relationships, line:0 at
13 xlsxwriter.sharedstrings.SharedStrings
SharedStrings, xlsxwriter.sharedstrings.SharedStrings, module=xlsxwriter.sharedstrings, line:0 at
14 xlsxwriter.styles.Styles
Styles, xlsxwriter.styles.Styles, module=xlsxwriter.styles, line:0 at
15 xlsxwriter.theme.Theme
Theme, xlsxwriter.theme.Theme, module=xlsxwriter.theme, line:0 at
16 xlsxwriter.vml.Vml
Vml, xlsxwriter.vml.Vml, module=xlsxwriter.vml, line:0 at
17 xlsxwriter.table.Table
Table, xlsxwriter.table.Table, module=xlsxwriter.table
用于写入Excel XLSX表文件的类。
 
18 xlsxwriter.comments.Comments
Comments, xlsxwriter.comments.Comments, module=xlsxwriter.comments, line:0 at
19 xlsxwriter.exceptions.EmptyChartSeries
EmptyChartSeries, xlsxwriter.exceptions.EmptyChartSeries, module=xlsxwriter.exceptions, line:0 at
20 xlsxwriter.packager.Packager
Packager, xlsxwriter.packager.Packager, module=xlsxwriter.packager
用于编写Excel XLSX Packager文件的类。
此模块与XlsxWriter一起用于创建Excel XLSX容器文件。
来自维基百科:Open Packaging Conventions (OPC)是一种容器文件技术,最初由微软创建,用于存储XML和非XML文件的组合,
这些文件一起形成一个单一实体,如 [Open XML Paper Specification (OpenXPS)文档](http://en.wikipedia.org/wiki/Open_Packaging_Conventions)最简单的Excel XLSX文件包含以下元素::____ [Content_Types].xml||____ docProps| |____ app.xml| |____ core.xml||____ xl| |____ workbook.xml| |____ worksheets| | |____ sheet1.xml| || |____ styles.xml| || |____ theme| | |____ theme1.xml| || |_____rels| |____ workbook.xml.rels||_____rels|____ .rels类对表示类的类进行协调元素,并将它们写入XLSX文件。
 
【xlsxwriter.chart】
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 3 | 
| 10 | class | 2 | 
| 11 | function | 6 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 20 | 
常量
模块
1 re
re, fullname=re, file=re.py
2 copy
copy, fullname=copy, file=copy.py
3 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
函数
4 get_rgb_color(color)
get_rgb_color(color), module=xlsxwriter.utility, line:359 at site-packages\xlsxwriter\utility.py
5 xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False)
xl_rowcol_to_cell(row, col, row_abs=False, col_abs=False), module=xlsxwriter.utility, line:35 at site-packages\xlsxwriter\utility.py
6 xl_range_formula(sheetname, first_row, first_col, last_row, last_col)
xl_range_formula(sheetname, first_row, first_col, last_row, last_col), module=xlsxwriter.utility, line:259 at site-packages\xlsxwriter\utility.py
7 supported_datetime(dt)
supported_datetime(dt), module=xlsxwriter.utility, line:672 at site-packages\xlsxwriter\utility.py
8 datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone)
datetime_to_excel_datetime(dt_obj, date_1904, remove_timezone), module=xlsxwriter.utility, line:696 at site-packages\xlsxwriter\utility.py
9 quote_sheetname(sheetname)
quote_sheetname(sheetname), module=xlsxwriter.utility, line:281 at site-packages\xlsxwriter\utility.py
类
10 xlsxwriter.shape.Shape
Shape, xlsxwriter.shape.Shape, module=xlsxwriter.shape, line:0 at
11 xlsxwriter.chart.Chart
Chart, xlsxwriter.chart.Chart, module=xlsxwriter.chart
用于编写Excel XLSX图表文件的类。
 
method
1 add_series()
kind=method class=Chart objtype=function
将数据序列添加到图表中。参数:options:  图表系列选项的字典。返回:无。
 
2 combine()
kind=method class=Chart objtype=function
创建带有二级图表的组合图表。参数:chart: 要与主图表结合的次要图表。返回:无。
 
3 set_chartarea()
kind=method class=Chart objtype=function
设置图表区域选项。参数:options: chart area选项的字典。返回:无。
 
4 set_drop_lines()
kind=method class=Chart objtype=function
设置图表下拉线的属性。参数:options: A dictionary of options.返回:无。
 
5 set_high_low_lines()
kind=method class=Chart objtype=function
设置图表高低线的属性。参数:options: A dictionary of options.返回:无。
 
6 set_legend()
kind=method class=Chart objtype=function
设置图表图例选项。参数:options: chart legend选项的字典。返回:无。
 
7 set_plotarea()
kind=method class=Chart objtype=function
设置图表绘图区域选项。参数:options: chart plot area选项的字典。返回:无。
 
8 set_size()
kind=method class=Chart objtype=function
设置图表的大小或比例。参数:options: chart size选项的字典。返回:无。
 
9 set_style()
kind=method class=Chart objtype=function
设置图表样式类型。参数:style_id: An int representing the chart style.返回:无。
 
10 set_table()
kind=method class=Chart objtype=function
设置轴数据表的属性。参数:options: axis table选项的字典。返回:无。
 
11 set_title()
kind=method class=Chart objtype=function
设置图表标题选项。参数:options: chart title选项的字典。返回:无。
 
12 set_up_down_bars()
kind=method class=Chart objtype=function
设置图表上下栏的属性。参数:options: A dictionary of options.返回:无。
 
13 set_x2_axis()
kind=method class=Chart objtype=function
设置图表次要X轴选项。参数:options: axis选项的字典。返回:无。
 
14 set_x_axis()
kind=method class=Chart objtype=function
设置图表X轴选项。参数:options:  axis选项的字典。返回:无。
 
15 set_y2_axis()
kind=method class=Chart objtype=function
设置图表次要Y轴选项。参数:options: axis选项的字典。返回:无。
 
16 set_y_axis()
kind=method class=Chart objtype=function
设置图表Y轴选项。参数:options: axis选项的字典。返回:无。
 
17 show_blanks_as()
kind=method class=Chart objtype=function
设置在图表中显示空白数据的选项。参数:option: A string representing the display option.返回:无。
 
18 show_hidden_data()
kind=method class=Chart objtype=function
    从隐藏的行或列显示图表上的数据。参数:option: 表示显示选项的字符串。返回:无。
 
内嵌函数或方法
12 warn
【xlsxwriter.chart_area】
chart_area, fullname=xlsxwriter.chart_area, file=xlsxwriter\chart_area.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_area.ChartArea
ChartArea, xlsxwriter.chart_area.ChartArea, module=xlsxwriter.chart_area
用于编写Excel XLSX区域图表的类。
 
【xlsxwriter.chart_bar】
chart_bar, fullname=xlsxwriter.chart_bar, file=xlsxwriter\chart_bar.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_bar.ChartBar
ChartBar, xlsxwriter.chart_bar.ChartBar, module=xlsxwriter.chart_bar
用于编写Excel XLSX柱状图的类。
 
method
1 combine()
kind=method class=ChartBar objtype=function
    创建带有二级图表的组合图表。注意:重写父方法以添加柱状图所需的额外检查,以确保它们的组合图位于次要轴上。参数:chart: 要与主图表结合的次要图表。返回:无。
 
内嵌函数或方法
3 warn
【xlsxwriter.chart_column】
chart_column, fullname=xlsxwriter.chart_column, file=xlsxwriter\chart_column.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_column.ChartColumn
ChartColumn, xlsxwriter.chart_column.ChartColumn, module=xlsxwriter.chart_column
用于编写Excel XLSX柱状图表的类。
 
【xlsxwriter.chart_pie】
chart_pie, fullname=xlsxwriter.chart_pie, file=xlsxwriter\chart_pie.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_pie.ChartPie
ChartPie, xlsxwriter.chart_pie.ChartPie, module=xlsxwriter.chart_pie
用于编写Excel XLSX饼图的类。
 
method
1 set_rotation()
kind=method class=ChartPie objtype=function
设置饼/甜甜圈图表旋转:第一片的角度。参数:rotation: First segment angle: 0 <= rotation <= 360.返回:无。
 
内嵌函数或方法
3 warn
【xlsxwriter.chart_doughnut】
chart_doughnut, fullname=xlsxwriter.chart_doughnut, file=xlsxwriter\chart_doughnut.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.chart_pie
chart_pie, fullname=xlsxwriter.chart_pie, file=xlsxwriter\chart_pie.py
类
2 xlsxwriter.chart_doughnut.ChartDoughnut
ChartDoughnut, xlsxwriter.chart_doughnut.ChartDoughnut, module=xlsxwriter.chart_doughnut
用于编写Excel XLSX甜甜圈图表的类。
 
method
1 set_hole_size()
kind=method class=ChartDoughnut objtype=function
设置甜甜圈图孔大小。参数:size: 10 <= size <= 90.返回:无。
 
内嵌函数或方法
3 warn
【xlsxwriter.chart_line】
chart_line, fullname=xlsxwriter.chart_line, file=xlsxwriter\chart_line.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_line.ChartLine
ChartLine, xlsxwriter.chart_line.ChartLine, module=xlsxwriter.chart_line
用于编写Excel XLSX折线图的类。
 
【xlsxwriter.chart_radar】
chart_radar, fullname=xlsxwriter.chart_radar, file=xlsxwriter\chart_radar.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_radar.ChartRadar
ChartRadar, xlsxwriter.chart_radar.ChartRadar, module=xlsxwriter.chart_radar
用于编写Excel XLSX雷达图的类。
 
【xlsxwriter.chart_scatter】
chart_scatter, fullname=xlsxwriter.chart_scatter, file=xlsxwriter\chart_scatter.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 12 | builtin_function_or_method | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 11 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_scatter.ChartScatter
ChartScatter, xlsxwriter.chart_scatter.ChartScatter, module=xlsxwriter.chart_scatter
用于编写Excel XLSX散点图的类。
 
method
1 combine()
kind=method class=ChartScatter objtype=function
创建带有二级图表的组合图表。注意:重写父方法以添加警告。参数:chart: The secondary chart to combine with the primary chart.返回:无。
 
内嵌函数或方法
3 warn
【xlsxwriter.chart_stock】
chart_stock, fullname=xlsxwriter.chart_stock, file=xlsxwriter\chart_stock.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 1 | 
| 10 | class | 1 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 10 | 
常量
模块
1 xlsxwriter.chart
chart, fullname=xlsxwriter.chart, file=xlsxwriter\chart.py
类
2 xlsxwriter.chart_stock.ChartStock
ChartStock, xlsxwriter.chart_stock.ChartStock, module=xlsxwriter.chart_stock
编写Excel XLSX股票图表的类。
 
【xlsxwriter.workbook】
workbook, fullname=xlsxwriter.workbook, file=xlsxwriter\workbook.py
统计
| 序号 | 类别 | 数量 | 
|---|---|---|
| 1 | int | 1 | 
| 4 | str | 4 | 
| 8 | dict | 1 | 
| 9 | module | 6 | 
| 10 | class | 28 | 
| 11 | function | 1 | 
| 12 | builtin_function_or_method | 2 | 
| 13 | residual | 3 | 
| 14 | system | 8 | 
| 16 | all | 46 | 
常量
int
1 ZIP_DEFLATED 8
模块
2 hashlib
hashlib, fullname=hashlib, file=hashlib.py
hashlib模块——许多哈希函数的公共接口。
 
3 operator
operator, fullname=operator, file=operator.py
操作符。这个模块导出一组用C语言实现的函数,对应于Python的内在操作符。
 
4 os
os, fullname=os, file=os.py
5 re
re, fullname=re, file=re.py
6 time
time, fullname=time, file=
7 xlsxwriter.xmlwriter
xmlwriter, fullname=xlsxwriter.xmlwriter, file=xlsxwriter\xmlwriter.py
函数
8 xl_cell_to_rowcol(cell_str)
xl_cell_to_rowcol(cell_str), module=xlsxwriter.utility, line:126 at site-packages\xlsxwriter\utility.py
将A1表示法中的单元格引用转换为零索引的行和列。(见前)
 
类
9 datetime.datetime
datetime, datetime.datetime, module=datetime, line:0 at
10 decimal.Decimal
Decimal, decimal.Decimal, module=decimal
构造一个新的Decimal对象。
 
11 fractions.Fraction
Fraction, fractions.Fraction, module=fractions
该类实现有理数。
 
12 zipfile.ZipFile
ZipFile, zipfile.ZipFile, module=zipfile
类,其方法用于打开、读取、写入、关闭和列出zip文件。
 
13 zipfile.ZipInfo
ZipInfo, zipfile.ZipInfo, module=zipfile
类,其属性描述ZIP归档中的每个文件。
 
14 zipfile.LargeZipFile
LargeZipFile, zipfile.LargeZipFile, module=zipfile
在编写zip文件时引发,该zipfile需要ZIP64扩展名,而这些扩展名已被禁用。
 
15 xlsxwriter.worksheet.Worksheet
Worksheet, xlsxwriter.worksheet.Worksheet, module=xlsxwriter.worksheet
用于编写Excel XLSX工作表文件的类。(见前)
### 16 xlsxwriter.chartsheet.Chartsheet
> Chartsheet, xlsxwriter.chartsheet.Chartsheet, module=xlsxwriter.chartsheet
 
用于编写Excel XLSX图表文件的类。(见前)
### 17 xlsxwriter.sharedstrings.SharedStringTable
> SharedStringTable, xlsxwriter.sharedstrings.SharedStringTable, module=xlsxwriter.sharedstrings
 
在工作表之间跟踪Excel共享字符串的类。(见前)
### 18 xlsxwriter.format.Format
> Format, xlsxwriter.format.Format, module=xlsxwriter.format
 
用于编写Excel XLSX格式文件的类。(见前)
### 19 xlsxwriter.packager.Packager
> Packager, xlsxwriter.packager.Packager, module=xlsxwriter.packager
 
用于编写Excel XLSX Packager文件的类。(见前)
### 20 xlsxwriter.chart_area.ChartArea
> ChartArea, xlsxwriter.chart_area.ChartArea, module=xlsxwriter.chart_area
 
用于编写Excel XLSX区域图表的类。(见前)
### 21 xlsxwriter.chart_bar.ChartBar
> ChartBar, xlsxwriter.chart_bar.ChartBar, module=xlsxwriter.chart_bar
 
用于编写Excel XLSX柱状图的类。(见前)
### 22 xlsxwriter.chart_column.ChartColumn
> ChartColumn, xlsxwriter.chart_column.ChartColumn, module=xlsxwriter.chart_column
 
用于编写Excel XLSX柱状图表的类。(见前)
### 23 xlsxwriter.chart_doughnut.ChartDoughnut
> ChartDoughnut, xlsxwriter.chart_doughnut.ChartDoughnut, module=xlsxwriter.chart_doughnut
 
用于编写Excel XLSX甜甜圈图表的类。(见前)
### 24 xlsxwriter.chart_line.ChartLine
> ChartLine, xlsxwriter.chart_line.ChartLine, module=xlsxwriter.chart_line
 
用于编写Excel XLSX折线图的类。(见前)
### 25 xlsxwriter.chart_pie.ChartPie
> ChartPie, xlsxwriter.chart_pie.ChartPie, module=xlsxwriter.chart_pie
 
用于编写Excel XLSX饼图的类。(见前)
### 26 xlsxwriter.chart_radar.ChartRadar
> ChartRadar, xlsxwriter.chart_radar.ChartRadar, module=xlsxwriter.chart_radar
 
用于编写Excel XLSX雷达图的类。
### 27 xlsxwriter.chart_scatter.ChartScatter
> ChartScatter, xlsxwriter.chart_scatter.ChartScatter, module=xlsxwriter.chart_scatter
 
### 28 xlsxwriter.chart_stock.ChartStock
> ChartStock, xlsxwriter.chart_stock.ChartStock, module=xlsxwriter.chart_stock
 
编写Excel XLSX股票图表的类。
### 29 xlsxwriter.exceptions.InvalidWorksheetName
> InvalidWorksheetName, xlsxwriter.exceptions.InvalidWorksheetName, module=xlsxwriter.exceptions
 
工作表名称过长或包含限制字符。
### 30 xlsxwriter.exceptions.DuplicateWorksheetName
> DuplicateWorksheetName, xlsxwriter.exceptions.DuplicateWorksheetName, module=xlsxwriter.exceptions
 
工作表名称已存在。
### 31 xlsxwriter.exceptions.UndefinedImageSize
> UndefinedImageSize, xlsxwriter.exceptions.UndefinedImageSize, module=xlsxwriter.exceptions
 
在图像文件中没有发现大小数据。
### 32 xlsxwriter.exceptions.UnsupportedImageFormat
> UnsupportedImageFormat, xlsxwriter.exceptions.UnsupportedImageFormat, module=xlsxwriter.exceptions
 
不支持的图像文件格式。
### 33 xlsxwriter.exceptions.FileCreateError
> FileCreateError, xlsxwriter.exceptions.FileCreateError, module=xlsxwriter.exceptions, line:0 at
### 34 xlsxwriter.exceptions.FileSizeError
> FileSizeError, xlsxwriter.exceptions.FileSizeError, module=xlsxwriter.exceptions
 
文件大小需要ZIP64扩展。使用工作簿。使用zip64()。
### 35 xlsxwriter.workbook.Workbook
> Workbook, xlsxwriter.workbook.Workbook, module=xlsxwriter.workbook
 
用于编写Excel XLSX工作簿文件的类。
### 36 xlsxwriter.workbook.WorksheetMeta
> WorksheetMeta, xlsxwriter.workbook.WorksheetMeta, module=xlsxwriter.workbook
 
跟踪工作表数据(如活动工作表和第一个工作表)的类。
## 内嵌函数或方法
> 37   unpack <built-in function unpack>
> 38   warn   <built-in function warn>