PyWebIO v1.3.3 Documentationhttps://codemirror. net/doc/manual.html#config Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.3 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) > 6: return0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 Documentationhttps://codemirror. net/doc/manual.html#config Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.1 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) > 6: return0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.0 Documentationhttps://codemirror. net/doc/manual.html#config Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.0 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) > 6: return0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.2 Documentationhttps://codemirror. net/doc/manual.html#config Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports form data as parameter: 4.1. User’s guide 11 PyWebIO, Release 1.3.2 def check_form(data): # input group validation: return (input name, error msg) when ˓→validation fail if len(data['name']) > 6: return0 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.6.1 Documentationresults of the above example are as follows: Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports 11 PyWebIO, Release 1.6.1 Attention: PyWebIO determines whether the input function is in input_group() or is called alone according to whether the name parameter is passed. So when calling an input function0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.2 Documentationresults of the above example are as follows: Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports 11 PyWebIO, Release 1.5.2 Attention: PyWebIO determines whether the input function is in input_group() or is called alone according to whether the name parameter is passed. So when calling an input function0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 Documentationresults of the above example are as follows: Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports 11 PyWebIO, Release 1.6.2 Attention: PyWebIO determines whether the input function is in input_group() or is called alone according to whether the name parameter is passed. So when calling an input function0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.0 Documentationresults of the above example are as follows: Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports 11 PyWebIO, Release 1.5.0 Attention: PyWebIO determines whether the input function is in input_group() or is called alone according to whether the name parameter is passed. So when calling an input function0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 Documentationresults of the above example are as follows: Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports 11 PyWebIO, Release 1.5.1 Attention: PyWebIO determines whether the input function is in input_group() or is called alone according to whether the name parameter is passed. So when calling an input function0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.3 Documentationresults of the above example are as follows: Input Group PyWebIO uses input group to get multiple inputs in a single form. pywebio.input.input_group() accepts a list of single input function call as parameter = input_group("Basic info",[ input('Input your name', name='name'), input('Input your age', name='age', type=NUMBER, validate=check_age) ]) put_text(data['name'], data['age']) The input group also supports 11 PyWebIO, Release 1.6.3 Attention: PyWebIO determines whether the input function is in input_group() or is called alone according to whether the name parameter is passed. So when calling an input function0 码力 | 108 页 | 1.37 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













