PyWebIO v1.7.1 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 发布 1.7.1 # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False put_text("You click delete button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label0 码力 | 127 页 | 1.73 MB | 1 年前3PyWebIO v1.8.2 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 Markdown 中的缩进: # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False style() to set the size of the loading prompt put_loading().style('width:4rem; height:4rem') 在 1.8 版更改: when use put_loading() as context manager, the output inside the context will also been removed after0 码力 | 137 页 | 1.76 MB | 1 年前3PyWebIO v1.8.2 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 Markdown 中的缩进: # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False style() to set the size of the loading prompt put_loading().style('width:4rem; height:4rem') 在 1.8 版更改: when use put_loading() as context manager, the output inside the context will also been removed after0 码力 | 135 页 | 1.75 MB | 1 年前3PyWebIO v1.8.2 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 Markdown 中的缩进: # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False style() to set the size of the loading prompt put_loading().style('width:4rem; height:4rem') 在 1.8 版更改: when use put_loading() as context manager, the output inside the context will also been removed after0 码力 | 137 页 | 1.76 MB | 1 年前3PyWebIO v1.8.0 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 Markdown 中的缩进: # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False style() to set the size of the loading prompt put_loading().style('width:4rem; height:4rem') 在 1.8 版更改: when use put_loading() as context manager, the output inside the context will also been removed after0 码力 | 135 页 | 1.75 MB | 1 年前3PyWebIO v1.8.1 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 Markdown 中的缩进: # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False style() to set the size of the loading prompt put_loading().style('width:4rem; height:4rem') 在 1.8 版更改: when use put_loading() as context manager, the output inside the context will also been removed after0 码力 | 135 页 | 1.75 MB | 1 年前3PyWebIO v1.6.3 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 发布 1.6.3 # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False put_text("You click delete button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label0 码力 | 123 页 | 1.72 MB | 1 年前3PyWebIO v1.7.0 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 发布 1.7.0 # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False put_text("You click delete button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label0 码力 | 125 页 | 1.72 MB | 1 年前3PyWebIO v1.6.2 使用手册
debug=True) 现在,在 http://127.0.0.1:8080/ 页面就会看到欢迎页面了。 使用 debug=True 来开启 debug 模式,这时 server 会在检测到代码发生更改后进行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启),你将会得到一个用 发布 1.6.2 # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False put_text("You click delete button") put_buttons(['edit', 'delete'], onclick=[edit, delete]) 在 1.5 版更改: Add disabled button support. The value of button can be any object. pywebio.output.put_button(label0 码力 | 123 页 | 1.72 MB | 1 年前3PyWebIO v1.8.2 使用手册
put_markdown('markdown') ]).style('margin-top: 20px') 使用 debug=True 来开启debug模式,这时server会在检测到代码发生更改后进 行重启。 start_server() 提供了对远程访问的支持,当开启远程访问后(通过在 start_server() 中传入 remote_access=True 开启 ),你将会得到一个用于访 进: # good code format def hello(): put_markdown(r""" # H1 This is content. """) 在 1.5 版更改: Enable lstrip by default. Deprecate strip_indent. pywebio.output.put_info(*contents, closable=False put_text("Start waiting...") time.sleep(3) # Some time-consuming operations 参数: 参数: 在 1.8 版更改: when use put_loading() as context manager, the output inside the context will also been removed after0 码力 | 160 页 | 7.48 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5