PyWebIO v1.2.3 Documentation
Visit https://codemirror.net/demo/theme. ˓→html#cobalt to get more themes }, value='import something\n# Write your python code') The results of the above example are as follows: Here are some commonly from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio.sleep(1) (continues on next page) 4.1. User’s guide 25 PyWebIO prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 92 页 | 1.32 MB | 1 年前3PyWebIO v1.2.2 Documentation
Visit https://codemirror.net/demo/theme. ˓→html#cobalt to get more themes }, value='import something\n# Write your python code') The results of the above example are as follows: Here are some commonly from pywebio import start_server from pywebio.session import run_async async def counter(n): for i in range(n): put_text(i) await asyncio.sleep(1) (continues on next page) 4.1. User’s guide 25 PyWebIO prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 92 页 | 1.35 MB | 1 年前3PyWebIO v1.6.2 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.3 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.8.0 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.2 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.8.1 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 118 页 | 1.40 MB | 1 年前3PyWebIO v1.7.1 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 112 页 | 1.38 MB | 1 年前3PyWebIO v1.7.0 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 110 页 | 1.37 MB | 1 年前3PyWebIO v1.6.1 Documentation
code = textarea('Code Edit', code={ 'mode': "python", 'theme': 'darcula', }, value='import something\n# Write your python code') The results of the above example are as follows: Input Group PyWebIO uses max_size (int/str) – The maximum size of a single file, exceeding the limit will prohibit uploading. The de- fault is 0, which means there is no limit to the size. max_size can be a integer indicating the number prompt Parameters • shape (str) – The shape of loading prompt. The available values are: 'border' (de- fault) 'grow' • color (str) – The color of loading prompt. The available values are: 'primary' 'secondary'0 码力 | 108 页 | 1.37 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9