PyWebIO v1.7.1 Documentationmessage string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label='', options=None, *, multiple=None, validate=None extension, starting with a period (“.”) character. For example: .jpg, .pdf, or .doc. – A valid MIME type string, with no extensions. For examples: application/pdf, audio/*, video/*, image/*. For more information0 码力 | 112 页 | 1.38 MB | 1 年前3
PyWebIO v1.8.0 DocumentationFLOAT , PASSWORD , URL , DATE , TIME, DATETIME, COLOR The value of DATE , TIME, DATETIME type is a string in the format of YYYY-MM-DD , HH:MM:SS , YYYY-MM-DDTHH:MM respectively (%Y-%m-%d, %H:%M:%S, %Y-%m-%dT%H:%M message string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label: str = '', options: Optional[List[Union[Dict[str0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.2 DocumentationFLOAT , PASSWORD , URL , DATE , TIME, DATETIME, COLOR The value of DATE , TIME, DATETIME type is a string in the format of YYYY-MM-DD , HH:MM:SS , YYYY-MM-DDTHH:MM respectively (%Y-%m-%d, %H:%M:%S, %Y-%m-%dT%H:%M message string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label: str = '', options: Optional[List[Union[Dict[str0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.8.1 DocumentationFLOAT , PASSWORD , URL , DATE , TIME, DATETIME, COLOR The value of DATE , TIME, DATETIME type is a string in the format of YYYY-MM-DD , HH:MM:SS , YYYY-MM-DDTHH:MM respectively (%Y-%m-%d, %H:%M:%S, %Y-%m-%dT%H:%M message string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label: str = '', options: Optional[List[Union[Dict[str0 码力 | 118 页 | 1.40 MB | 1 年前3
PyWebIO v1.6.3 Documentationmessage string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label='', options=None, *, multiple=None, validate=None extension, starting with a period (“.”) character. For example: .jpg, .pdf, or .doc. – A valid MIME type string, with no extensions. For examples: application/pdf, audio/*, video/*, image/*. For more information0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.7.1 Documentationit returns None. When the input value is invalid, it returns an error message string. For example: name (str) – A string specifying a name for the input. Used with input_group() to identify different readonly, help_text, other_html_attrs (-) – Those arguments have the same meaning as for input() The string value that user input. pywebio.input.select(label='', options=None, *, multiple=None, validate=None extension, starting with a period (“.”) character. For example: .jpg, .pdf, or .doc A valid MIME type string, with no extensions. For examples: application/pdf, audio/*, video/*, image/*. For more information0 码力 | 152 页 | 7.47 MB | 1 年前3
PyWebIO v1.6.1 Documentationmessage string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label='', options=None, *, multiple=None, validate=None extension, starting with a period (“.”) character. For example: .jpg, .pdf, or .doc. – A valid MIME type string, with no extensions. For examples: application/pdf, audio/*, video/*, image/*. For more information0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 Documentationmessage string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label='', options=None, *, multiple=None, validate=None extension, starting with a period (“.”) character. For example: .jpg, .pdf, or .doc. – A valid MIME type string, with no extensions. For examples: application/pdf, audio/*, video/*, image/*. For more information0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.0 Documentationmessage string. For example: def check_age(age): if age>30: return 'Too old' elif age<10: return 'Too young' input('Input your age', type=NUMBER, validate=check_age) • name (str) – A string specifying help_text, other_html_attrs (-) – Those ar- guments have the same meaning as for input() Returns The string value that user input. pywebio.input.select(label='', options=None, *, multiple=None, validate=None extension, starting with a period (“.”) character. For example: .jpg, .pdf, or .doc. – A valid MIME type string, with no extensions. For examples: application/pdf, audio/*, video/*, image/*. For more information0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.8.1 DocumentationFLOAT , PASSWORD , URL , DATE , TIME, DATETIME, COLOR The value of DATE , TIME, DATETIME type is a string in the format of YYYY-MM-DD , HH:MM:SS , YYYY-MM-DDTHH:MM respectively (%Y-%m-%d, %H:%M:%S, %Y-%m-%dT%H:%M it returns None. When the input value is invalid, it returns an error message string. For example: name (str) – A string specifying a name for the input. Used with input_group() to identify different readonly, help_text, other_html_attrs (-) – Those arguments have the same meaning as for input() The string value that user input. pywebio.input.select(label: str = '', options: Optional[List[Union[Dict[str0 码力 | 160 页 | 7.47 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













