PyWebIO v1.8.0 Documentationnot both pywebio.output.put_progressbar(name: str, init: float = 0, label: Optional[str] = None, auto_close: bool = False, scope: Optional[str] = None, posi- tion: int = - 1) → pywebio.io_ctrl.Output (str) – The label of progress bar. The default is the percentage value of the current progress. • auto_close (bool) – Whether to remove the progress bar after the progress is completed • scope, position put_scrollable(put_scope('scrollable'), height=200, keep_bottom=True) put_text("You can click the area to prevent auto scroll.", scope='scrollable') while 1: put_text(time.time(), scope='scrollable') time.sleep(0.5)0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 Documentationnot both pywebio.output.put_progressbar(name: str, init: float = 0, label: Optional[str] = None, auto_close: bool = False, scope: Optional[str] = None, posi- tion: int = - 1) → pywebio.io_ctrl.Output (str) – The label of progress bar. The default is the percentage value of the current progress. • auto_close (bool) – Whether to remove the progress bar after the progress is completed • scope, position put_scrollable(put_scope('scrollable'), height=200, keep_bottom=True) put_text("You can click the area to prevent auto scroll.", scope='scrollable') while 1: put_text(time.time(), scope='scrollable') time.sleep(0.5)0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.1 Documentationnot both pywebio.output.put_progressbar(name: str, init: float = 0, label: Optional[str] = None, auto_close: bool = False, scope: Optional[str] = None, posi- tion: int = - 1) → pywebio.io_ctrl.Output (str) – The label of progress bar. The default is the percentage value of the current progress. • auto_close (bool) – Whether to remove the progress bar after the progress is completed • scope, position put_scrollable(put_scope('scrollable'), height=200, keep_bottom=True) put_text("You can click the area to prevent auto scroll.", scope='scrollable') while 1: put_text(time.time(), scope='scrollable') time.sleep(0.5)0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.3.3 Documentationtitle Auto Scroll When performing some continuous output (such as log output), you may want to scroll the page to the bottom auto- matically when there is new output. You can call set_env(auto_scroll_bottom=True) say_hello(): name = await input("what's your name?") put_text('Hello, %s' % name) start_server(say_hello, auto_open_webbrowser=True) In the coroutine task function, you can also use await to call other coroutines 4.1. User’s guide 25 PyWebIO, Release 1.3.3 (continued from previous page) start_server(main, auto_open_webbrowser=True) Attention: In coroutine-based session, all input functions defined in the pywebio0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 Documentationtitle Auto Scroll When performing some continuous output (such as log output), you may want to scroll the page to the bottom auto- matically when there is new output. You can call set_env(auto_scroll_bottom=True) say_hello(): name = await input("what's your name?") put_text('Hello, %s' % name) start_server(say_hello, auto_open_webbrowser=True) In the coroutine task function, you can also use await to call other coroutines 4.1. User’s guide 25 PyWebIO, Release 1.3.1 (continued from previous page) start_server(main, auto_open_webbrowser=True) Attention: In coroutine-based session, all input functions defined in the pywebio0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.0 Documentationtitle Auto Scroll When performing some continuous output (such as log output), you may want to scroll the page to the bottom auto- matically when there is new output. You can call set_env(auto_scroll_bottom=True) say_hello(): name = await input("what's your name?") put_text('Hello, %s' % name) start_server(say_hello, auto_open_webbrowser=True) In the coroutine task function, you can also use await to call other coroutines 4.1. User’s guide 25 PyWebIO, Release 1.3.0 (continued from previous page) start_server(main, auto_open_webbrowser=True) Attention: In coroutine-based session, all input functions defined in the pywebio0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.2 Documentationtitle Auto Scroll When performing some continuous output (such as log output), you may want to scroll the page to the bottom auto- matically when there is new output. You can call set_env(auto_scroll_bottom=True) say_hello(): name = await input("what's your name?") put_text('Hello, %s' % name) start_server(say_hello, auto_open_webbrowser=True) In the coroutine task function, you can also use await to call other coroutines 4.1. User’s guide 25 PyWebIO, Release 1.3.2 (continued from previous page) start_server(main, auto_open_webbrowser=True) Attention: In coroutine-based session, all input functions defined in the pywebio0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.7.1 Documentationparameters must specify one but not both pywebio.output.put_processbar(name, init=0, label=None, auto_close=False, scope=None, position=- 1) → pywebio.io_ctrl.Output Output a process bar Parameters (str) – The label of process bar. The default is the percentage value of the current progress. • auto_close (bool) – Whether to remove the progress bar after the progress is completed • scope, position put_scrollable(put_scope('scrollable'), height=200, keep_bottom=True) put_text("You can click the area to prevent auto scroll.", scope='scrollable') while 1: put_text(time.time(), scope='scrollable') time.sleep(0.5)0 码力 | 112 页 | 1.38 MB | 1 年前3
PyWebIO v1.7.0 Documentationparameters must specify one but not both pywebio.output.put_processbar(name, init=0, label=None, auto_close=False, scope=None, position=- 1) → pywebio.io_ctrl.Output Output a process bar Parameters (str) – The label of process bar. The default is the percentage value of the current progress. • auto_close (bool) – Whether to remove the progress bar after the progress is completed • scope, position put_scrollable(put_scope('scrollable'), height=200, keep_bottom=True) put_text("You can click the area to prevent auto scroll.", scope='scrollable') while 1: put_text(time.time(), scope='scrollable') time.sleep(0.5)0 码力 | 110 页 | 1.37 MB | 1 年前3
PyWebIO v1.8.1 Documentationnot both pywebio.output.put_progressbar(name: str, init: float = 0, label: Optional[str] = None, auto_close: bool = False, scope: Optional[str] = None, position: int = - 1) → pywebio.io_ctrl.Output Output label (str) – The label of progress bar. The default is the percentage value of the current progress. auto_close (bool) – Whether to remove the progress bar after the progress is completed scope, position put_scrollable(put_scope('scrollable'), height=200, keep_bottom=True) put_text("You can click the area to prevent auto scroll.", scope='scrollable') while 1: put_text(time.time(), scope='scrollable') time.sleep(00 码力 | 160 页 | 7.47 MB | 1 年前3
共 463 条
- 1
- 2
- 3
- 4
- 5
- 6
- 47













