一图看懂 xlsxwriter 模块:用于创建 Excel .xlsx 文件, 资料整理+笔记(大全)
本文由 大侠(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>
相关文章:

一图看懂 xlsxwriter 模块:用于创建 Excel .xlsx 文件, 资料整理+笔记(大全)
本文由 大侠(AhcaoZhu)原创,转载请声明。 链接: https://blog.csdn.net/Ahcao2008 一图看懂 xlsxwriter 模块:用于创建 Excel .xlsx 文件, 资料整理笔记(大全) 摘要模块图类关系图模块全展开【xlsxwriter】统计常量模块1 xlsxwrit…...

【社区图书馆】NVMe协议的命令
声明 主页:元存储的博客_CSDN博客 依公开知识及经验整理,如有误请留言。 个人辛苦整理,付费内容,禁止转载。 内容摘要 前言 命令由host提交到内存中的SQ队列中,更新TDBxSQ后,NVMe控制器通过DMA的方式将SQ中的命令(怎么取,如何取,取多少,因设计而异)取到控制器缓冲区…...

Nginx网站服务
Nginx概述 Nginx 是开源、高性能、高可靠、低资源消耗的 Web 和反向代理服务器,而且支持热部署,几乎可以做到 7 * 24 小时不间断运行,即使运行几个月也不需要重新启动,还能在不间断服务的情况下对软件版本进行热更新。对HTTP并发…...

第八篇 Spring 集成JdbcTemplate
《Spring》篇章整体栏目 ————————————————————————————— 【第一章】spring 概念与体系结构 【第二章】spring IoC 的工作原理 【第三章】spring IOC与Bean环境搭建与应用 【第四章】spring bean定义 【第五章】Spring 集合注入、作用域 【第六章】…...

双塔模型:微软DSSM模型浅析
1.背景 DSSM是Deep Structured Semantic Model (深层结构语义模型) 的缩写,即我们通常说的基于深度网络的语义模型,其核心思想是将query和doc映射到到共同维度的语义空间中,通过最大化query和doc语义向量之间的余弦相似度,从而训…...

DAY 44 Apache网页优化
Apache网页优化 概述 在企业中,部署Apache后只采用默认的配置参数,会引发网站很多问题,换言之默认配置是针对以前较低的服务器配置的,以前的配置已经不适用当今互联网时代 为了适应企业需求,就需要考虑如何提升Apach…...

移动端手机网页适配iPad与折叠屏设备
采用的网页适配方案:移动端页面px布局适配方案(viewport) 产生此问题的原因 由于手机与平板等设备宽高比差异导致页面展示不全或者功能按钮展示在视口之外点击不到。 简单来说就是我们的页面都是瘦长(即高大于宽)的,而折叠屏等设…...

深入剖析 Qt QMap:原理、应用与技巧
目录标题 引言:QMap 的重要性与基本概念QMap 简介:基本使用方法(QMap Basics: Concepts and Usage)QMap 迭代器:遍历与操作键值对(QMap Iterators: Traversing and Manipulating Key-Value Pairs࿰…...

SpringBoot使用Hbase
SpringBoot使用Hbase 文章目录 SpringBoot使用Hbase一,引入依赖二,配置文件添加自己的属性三,配置类注入HBASE配置四,配置Hbase连接池五,配置操作服务类 一,引入依赖 <dependency><groupId>org…...

SQL优化总结
SQL优化总结 1. MySQL层优化五个原则2. SQL优化策略2.1 避免不走索引的场景 3. SELECT语句其他优化3.1 避免出现select *3.2 避免出现不确定结果的函数3.3 多表关联查询时,小表在前,大表在后。3.4 使用表的别名3.5 调整Where字句中的连接顺序 附录 1. My…...

【python学习】基础篇-字典的基本操作 获取当前日期时间
1.字典的定义与创建 定义字典时,每个元素都包含两个部分“键”和“值”,在“键”和“值”之间使用冒号(:)分隔,相邻两个元素使用逗号分隔,所有元素放在一个大括号“{}”中。语法格式如下: dictionary (‘key1’:‘value1’, &quo…...

Python FreeCAD.Vector方法代码示例
Python FreeCAD.Vector方法代码示例 本文整理汇总了Python中FreeCAD.Vector方法的典型用法代码示例。如果您正苦于以下问题:Python FreeCAD.Vector方法的具体用法?Python FreeCAD.Vector怎么用?Python FreeCAD.Vector使用的例子?那…...

HDFS 梳理
HDFS客户端 客户端作用 管理文件目录文件系统操作读写 客户端生成 配置项 配置 客户端状态 缓冲相关参数,读写缓冲 失败切换操作 推测执行?? NN引用 NNProxy 客户端关闭 关闭IO流 修改状态 关闭RPC连接 是否有多个RPC连接? HDFS读 打开文件构…...

ChatGPT团队中,3个清华学霸,1个北大学霸,共9位华人
众所周知,美国硅谷其实有着众多的华人,哪怕是芯片领域,华为也有着一席之地,比如AMD 的 CEO 苏姿丰、Nvidia 的 CEO 黄仁勋 都是华人。 还有更多的美国著名的科技企业中,都有着华人的身影,这些华人ÿ…...

通过工具生成指定 类型 大小 文件
今天给大家介绍一个神器 首先 大家在开发过程中或许经常需要涉及到文件上传类的功能 需要测试文件过大 空文件等等清空 不同大小的文件 而这种文件大小是比较不好控制的 但大家可以下载我的资源 文件生成工具(可生成指定大小 类型文件) 下载下来里面就有一个 fileGeneration…...

超外差收音机的制作-电子线路课程设计-实验课
超外差收音机的制作 一、原理部分: 超外差收音机:超外差式收音机是将接收到的不同频率的高频信号全部变成一个固定的中频信号进行放大,因而电路对各种电台信号的放大量基本是相同的,这样可以使中放电路具有优良的频率特性。 超…...

TensorFlow 深度学习实战指南:1~5 全
原文:Hands-on Deep Learning with TensorFlow 协议:CC BY-NC-SA 4.0 译者:飞龙 本文来自【ApacheCN 深度学习 译文集】,采用译后编辑(MTPE)流程来尽可能提升效率。 不要担心自己的形象,只关心如…...

【数据结构】队列的实现
白日去如箭,达者惜今阳。 --朱敦儒目录 🚁前言: 🏝️一.队列的概念及结构 🌻二.队列各种功能的实现 🍍1.队列的初始化 🏝️2.队列…...

【数据库】— 无损连接、Chase算法、保持函数依赖
【数据库】— 无损连接、Chase算法 Chase算法Chase算法举例一种简便方法:分解为两个模式时无损连接和函数依赖的一个简单例子 Chase算法 形式化定义: 构造一个 k k k行 n n n列的表格,每行对应一个模式 R i ( 1 ≤ i ≤ k ) Ri (1≤i ≤ k)…...

用英语翻译中文-汉字英文翻译
中文转英语翻译 作为一款高效、准确的中文转英语翻译软件,我们的产品可以帮助全球用户更好地沟通和合作,实现跨文化交流。 在全球化的今天,中英文翻译已经成为商务、学术、娱乐等各个领域不可或缺的一部分。我们的中文转英语翻译软件是为了…...

瑞吉外卖项目——缓存优化
用户数量多,系统访问量大 频繁访问数据库,系统性能下降,用户体验差 环境搭建 maven坐标 在项目的pom.xml文件中导入spring data redis的maven坐标: <dependency><groupId>org.springframework.boot</groupId><arti…...

从头创建一个新的浏览器,这合理吗?
从头构建一个新浏览器?这如果是不是个天大的“伪需求”,便是一场开发者的噩梦! 要知道,如果没有上百亿的资金和数百名研发工程师的投入,从头开始构建一个新的浏览器引擎,几乎是不可能的。然而SerenityOS系统…...

TypeScript泛型类型和接口
本节课我们来开始了解 TypeScript 中泛型类型的概念和接口使用。 一.泛型类型 1. 前面,我们通过泛型变量的形式来存储调用方的类型从而进行检查; 2. 而泛型也可以作为类型的方式存在,理解这一点,先了解下函数的…...

docker命令
1.运行 docker-compose up 2.查看命令 docker images 3.删掉docker镜像: docker rmi -f [id] docker卸载 1.杀死docker有关的容器: docker kill $(docker ps -a -q) 2.删除所有docker容器:docker rm $(docker ps -a -q) 3.删除所有docker镜像&…...

2023 年 3 月 NFT 月度报告
作者:Danielfootprint.network 数据来源:NFT Monthly Report 三月份的 NFT 市场上出现了两个有趣的趋势。一方面,Polygon 链尽管在二月份有所突破,达到了 NFT 总交易量的 4.2%,但于三月再次跌至 1% 以下,…...

【http】 get方法和Post方法区别;http和https
get方法和Post方法 get方法:通过url传参,回显输入的私密信息,不够私密 Post方法:通过正文传参,不会回显,一般私密性有保证。 一般如果上传的图片,音频比较大,推荐Post方法&#x…...

第三章 法的渊源与法的分类
目录 第一节 法的渊源的分类 一、法的渊源释义二、法的渊源种类 第二节 正式法源 一、正式法源的含义二、当代中国的正式法源三、正式法源的一般效力原则 第三节 非正式法源 一、当代中国的非正式法源 第四节 法的分类 一、法的一般分类二、法的特殊分类 第一节 法的渊源的…...

在Ubuntu18.04或者20.04下搭建edk2运行环境
#更新完之后依次执行下面两条命令 1.apt-get update 2.apt-get upgrade 如果执行之后出现源不能更新的问题,到/etc/apt/sources.list.d 下删除对应的ppa源重新更新即可解决 git clone https://github.com/tianocore/edk2.git cd edk2 git submodule update --init 如果git cl…...

多线程编程常用函数用法
一、多线程编程常用函数用法 1、pthread_create 头文件 #include<pthread.h>函数声明 int pthread_create(pthread_t*restrict tidp,const pthread_attr_t *restrict_attr,void*(*start_rtn)(void*),void *restrict arg)函数功能 pthread_create是UNIX环境…...

C++ 标准模板库(Standard Template Library,STL)
✅作者简介:人工智能专业本科在读,喜欢计算机与编程,写博客记录自己的学习历程。 🍎个人主页:小嗷犬的个人主页 🍊个人网站:小嗷犬的技术小站 🥭个人信条:为天地立心&…...