PyWebIO v1.2.3 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, links, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Markdown Output put_m output functions as part of the final output: You can pass put_xxx() calls to put_table() as cell content: put_table([ ['Type', 'Content'], ['html', put_html('X2')], ['text', '
'], # equal0 码力 | 92 页 | 1.32 MB | 1 年前3
PyWebIO v1.4.0 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text(), put_image(), put_table() and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, images, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Image Output put_image('some-image you need call show() method explicitly to show output: >>> put_text("Hello world!").show() >>> put_table([ ... ['A', 'B'], ... [put_markdown(...), put_text('C')] ... ]).show() 12 Chapter 4. Documentation0 码力 | 102 页 | 1.35 MB | 1 年前3
PyWebIO v1.3.3 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, links, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Markdown Output put_m you need call show() method explicitly to show output: >>> put_text("Hello world!").show() >>> put_table([ ... ['A', 'B'], (continues on next page) 12 Chapter 4. Documentation PyWebIO, Release 1.3.30 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.1 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, links, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Markdown Output put_m you need call show() method explicitly to show output: >>> put_text("Hello world!").show() >>> put_table([ ... ['A', 'B'], (continues on next page) 12 Chapter 4. Documentation PyWebIO, Release 1.3.10 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.0 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, links, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Markdown Output put_m you need call show() method explicitly to show output: >>> put_text("Hello world!").show() >>> put_table([ ... ['A', 'B'], (continues on next page) 12 Chapter 4. Documentation PyWebIO, Release 1.3.00 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.3.2 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, links, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Markdown Output put_m you need call show() method explicitly to show output: >>> put_text("Hello world!").show() >>> put_table([ ... ['A', 'B'], (continues on next page) 12 Chapter 4. Documentation PyWebIO, Release 1.3.20 码力 | 100 页 | 1.34 MB | 1 年前3
PyWebIO v1.2.2 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can functions to output text, tables, links, etc: # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Markdown Output put_m output functions as part of the final output: You can pass put_xxx() calls to put_table() as cell content: put_table([ ['Type', 'Content'], ['html', put_html('X2')], ['text', '
'], # equal0 码力 | 92 页 | 1.35 MB | 1 年前3
PyWebIO v1.2.3 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can return ('age', 'Age can not be negative!') # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], For all output functions provided by combined with some output functions as part of the final output: You can pass put_xxx() calls to put_table() as cell content: The results of the above example are as follows: ['Banana', '7'], ]) # Markdown0 码力 | 119 页 | 7.43 MB | 1 年前3
PyWebIO v1.4.0 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text(), put_image(), put_table() and other functions to output text, pictures, tables and other content to the browser, or you can return ('age', 'Age can not be negative!') # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], ['Banana', '7'], ]) # Image Output you need call show() method explicitly to show output: >>> put_text("Hello world!").show() >>> put_table([ ... ['A', 'B'], ... [put_markdown(...), put_text('C')] ... ]).show() Combined Output The0 码力 | 135 页 | 7.45 MB | 1 年前3
PyWebIO v1.2.2 Documentationbrowser. Using the imperative API provided by PyWebIO, you can simply call put_text, put_image, put_table and other functions to output text, pictures, tables and other content to the browser, or you can return ('age', 'Age can not be negative!') # Text Output put_text("Hello world!") # Table Output put_table([ ['Commodity', 'Price'], ['Apple', '5.5'], For all output functions provided by combined with some output functions as part of the final output: You can pass put_xxx() calls to put_table() as cell content: The results of the above example are as follows: ['Banana', '7'], ]) # Markdown0 码力 | 119 页 | 7.41 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













