PyWebIO v1.5.2 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.5.2 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.0 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.5.0 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.5.1 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.1 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.6.1 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.6.2 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.3 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.6.3 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.0 Documentationis the object itself so it can be used in combined output. Output Scope PyWebIO uses the scope model to give more control to the location of content output. The output scope is a container of output PyWebIO, Release 1.6.0 The layout function also supports customizing the size of each part: put_row([put_image(...), put_image(...)], size='40% 60%') # The ratio of the width ˓→of two images is 2:3 For more You can set the CSS style for a single put_xxx() output: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown')0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.2 使用手册guide 19 PyWebIO, 发布 1.5.2 以上代码将在浏览器上显示如下: 布局函数还支持自定义各部分的尺寸: put_row([put_image(⋯), put_image(⋯)], size='40% 60%') # 左右两图宽度比 2:3 更多布局函数的用法及代码示例请查阅布局函数文档 . 样式 如果你熟悉 CSS 样式 ,你还可以在输出函数后调用 style() 方法给输出设定自定义样式。 方法给输出设定自定义样式。 可以给单个的 put_xxx() 输出设定 CSS 样式,也可以配合组合输出使用: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown') file_upload(label=”, accept=None, name=None, placeholder=’Choose file’, multiple=False, max_size=0, max_total_size=0, required=None, help_text=None, **other_html_attrs) 文件上传 参数 • accept (str or list)0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.5.0 使用手册guide 19 PyWebIO, 发布 1.5.0 以上代码将在浏览器上显示如下: 布局函数还支持自定义各部分的尺寸: put_row([put_image(⋯), put_image(⋯)], size='40% 60%') # 左右两图宽度比 2:3 更多布局函数的用法及代码示例请查阅布局函数文档 . 样式 如果你熟悉 CSS 样式 ,你还可以在输出函数后调用 style() 方法给输出设定自定义样式。 方法给输出设定自定义样式。 可以给单个的 put_xxx() 输出设定 CSS 样式,也可以配合组合输出使用: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown') file_upload(label=”, accept=None, name=None, placeholder=’Choose file’, multiple=False, max_size=0, max_total_size=0, required=None, help_text=None, **other_html_attrs) 文件上传 参数 • accept (str or list)0 码力 | 125 页 | 1.72 MB | 1 年前3
PyWebIO v1.5.1 使用手册guide 19 PyWebIO, 发布 1.5.1 以上代码将在浏览器上显示如下: 布局函数还支持自定义各部分的尺寸: put_row([put_image(⋯), put_image(⋯)], size='40% 60%') # 左右两图宽度比 2:3 更多布局函数的用法及代码示例请查阅布局函数文档 . 样式 如果你熟悉 CSS 样式 ,你还可以在输出函数后调用 style() 方法给输出设定自定义样式。 方法给输出设定自定义样式。 可以给单个的 put_xxx() 输出设定 CSS 样式,也可以配合组合输出使用: put_text('hello').style('color: red; font-size: 20px') # in combined output put_row([ put_text('hello').style('color: red'), put_markdown('markdown') file_upload(label=”, accept=None, name=None, placeholder=’Choose file’, multiple=False, max_size=0, max_total_size=0, required=None, help_text=None, **other_html_attrs) 文件上传 参数 • accept (str or list)0 码力 | 125 页 | 1.72 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













