PyWebIO v1.2.3 Documentation# insert the Coding into the top of the ˓→hobby Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, the interaction of PyWebIO content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within0 码力 | 92 页 | 1.32 MB | 1 年前3
PyWebIO v1.2.2 Documentation# insert the Coding into the top of the ˓→hobby Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, PyWebIO divides the interaction content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within0 码力 | 92 页 | 1.35 MB | 1 年前3
PyWebIO v1.2.3 Documentationafter being output, the content can also be modified: Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: popup('Popup title', [ put_html('Popup ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, the interaction of PyWebIO content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within
0 码力 | 119 页 | 7.43 MB | 1 年前3
PyWebIO v1.2.2 Documentationafter being output, the content can also be modified: Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: popup('Popup title', [ put_html('Popup ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, PyWebIO divides the interaction content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within
0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.3.3 Documentation# insert the Coding into the top of the ˓→hobby Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, the interaction of PyWebIO content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.2 Documentation# insert the Coding into the top of the ˓→hobby Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, the interaction of PyWebIO content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 Documentation# insert the Coding into the top of the ˓→hobby Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, the interaction of PyWebIO content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.0 Documentation# insert the Coding into the top of the ˓→hobby Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Callback As we can see from the above, the interaction of PyWebIO content to a scope, the default is “current scope”. “current scope” is determined by the runtime context. The output function can also manually specify the scope to output. The scope name is unique within0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.6.1 Documentationput_xxx() calls as content, see Output functions list Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Click Callback As we can see from the above, the interaction functions from pywebio.input, pywebio.output and pywebio.session modules can only be called in the context of PyWebIO application functions. For example, the following code is not allowed: import pywebio0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 Documentationput_xxx() calls as content, see Output functions list Context Manager Some output functions that accept put_xxx() calls as content can be used as context manager: with put_collapse('This is title'): for ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) For a full list of functions that support context manager, see Output functions list Click Callback As we can see from the above, the interaction functions from pywebio.input, pywebio.output and pywebio.session modules can only be called in the context of PyWebIO application functions. For example, the following code is not allowed: import pywebio0 码力 | 108 页 | 1.37 MB | 1 年前3
共 81 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













