PyWebIO v1.2.3 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser start_server() accepts a function as PyWebIO application. In addition, start_server() also accepts a list of task function or a dictionary of it, so one PyWebIO Server can have multiple services with different functions 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_buttons(['Go task 1'], [lambda: go_app('task_1')])0 码力 | 119 页 | 7.43 MB | 1 年前3PyWebIO v1.2.2 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser start_server() accepts a function as PyWebIO application. In addition, start_server() also accepts a list of task function or a dictionary of it, so that one PyWebIO Server can have multiple services with different 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_buttons(['Go task 1'], [lambda: go_app('task_1')])0 码力 | 119 页 | 7.41 MB | 1 年前3PyWebIO v1.3.2 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser a list of task function or a dictionary of it, so one PyWebIO Server can have multiple 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold() def index():0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.3.0 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser a list of task function or a dictionary of it, so one PyWebIO Server can have multiple 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold() def index():0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.3.1 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser a list of task function or a dictionary of it, so one PyWebIO Server can have multiple 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold() def index():0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.3.3 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser a list of task function or a dictionary of it, so one PyWebIO Server can have multiple 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold() def index():0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.3.3 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser start_server() accepts a function as PyWebIO application. In addition, start_server() also accepts a list of task function or a dictionary of it, so one PyWebIO Server can have multiple services with different functions Release 1.3.3 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold()0 码力 | 100 页 | 1.34 MB | 1 年前3PyWebIO v1.3.1 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser start_server() accepts a function as PyWebIO application. In addition, start_server() also accepts a list of task function or a dictionary of it, so one PyWebIO Server can have multiple services with different functions Release 1.3.1 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold()0 码力 | 100 页 | 1.34 MB | 1 年前3PyWebIO v1.3.0 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser start_server() accepts a function as PyWebIO application. In addition, start_server() also accepts a list of task function or a dictionary of it, so one PyWebIO Server can have multiple services with different functions Release 1.3.0 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold()0 码力 | 100 页 | 1.34 MB | 1 年前3PyWebIO v1.3.2 Documentation
the event callback will not work. You can call the pywebio.session.hold() function at the end of the task function to hold the session, so that the event callback will always be available before the browser start_server() accepts a function as PyWebIO application. In addition, start_server() also accepts a list of task function or a dictionary of it, so one PyWebIO Server can have multiple services with different functions Release 1.3.2 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_buttons(['Go task 1'], [lambda: go_app('task_1')]) hold()0 码力 | 100 页 | 1.34 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9