PyWebIO v1.6.1 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.2 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.4.0 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. 4.3. pywebio.output — Make output to web browser 39 PyWebIO, Release 1.4.0 Example: from functools 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 102 页 | 1.35 MB | 1 年前3PyWebIO v1.6.2 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.0 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.1 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.3 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.0 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.7.1 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: from functools import partial def row_action(choice, id): put_text("You click %s button 2 Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 112 页 | 1.38 MB | 1 年前3PyWebIO v1.4.0 Documentation
complete. If the callback function runs for a short time, you can turn on serial_mode to improve performance. Example: pywebio.output.put_button(label, onclick, color=None, small=None, link_style=False Pin widgets Each pin widget function corresponds to an input function of input module. (For performance reasons, no pin widget for file_upload() input function) The function of pin widget supports most a single thread. For IO-bound tasks, coroutines take up fewer resources than threads and have performance comparable to threads. In addition, the context switching of the coroutine is predictable, which0 码力 | 135 页 | 7.45 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4