PyWebIO v1.6.1 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.2 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.2 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.0 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.1 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.3 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.0 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.2.3 Documentation
services with different functions. You can use go_app() or put_link() to jump between services: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) hold() def task_2(): put_text('task_2') put_text('task_2') put_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold() def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') connection. Example: set_env(title='Awesome PyWebIO!!', output_animation=False) pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO0 码力 | 92 页 | 1.32 MB | 1 年前3PyWebIO v1.2.2 Documentation
services with different functions. You can use go_app() or put_link() to jump between services: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) hold() def task_2(): put_text('task_2') put_text('task_2') put_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold() def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') connection. Example: set_env(title='Awesome PyWebIO!!', output_animation=False) pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO0 码力 | 92 页 | 1.35 MB | 1 年前3PyWebIO v1.7.1 Documentation
output_animation=False) Changed in version 1.4: Added the output_max_width parameter pywebio.session.go_app(name, new_window=True) Jump to another task of a same PyWebIO application. Only available in PyWebIO session. go_app() or put_link() to jump between application: def task_1(): put_text('task_1') put_buttons(['Go task 2'], [lambda: go_app('task_2')]) def task_2(): put_text('task_2') put_buttons(['Go task task 1'], [lambda: go_app('task_1')]) def index(): put_link('Go task 1', app='task_1') # Use `app` parameter to specify the task ˓→name put_link('Go task 2', app='task_2') # equal to `start_server({'index':0 码力 | 112 页 | 1.38 MB | 1 年前3
共 84 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9