PyFlink 1.15 Documentation
dev/requirements.txt 2. Conda install pandoc conda install pandoc 3. Build the docs python3 setup.py build_sphinx 4. Open the pyflink-docs/build/sphinx/html/index.html in the Browser 1.1 Getting Started githubusercontent.com/apache/flink/master/flink-python/pyflink/ ˓→examples/table/word_count.py -o word_count.py python3 word_count.py # You will see outputs as following: # Use --input to specify file input. # Printing githubusercontent.com/apache/flink/master/flink-python/pyflink/ ˓→examples/table/word_count.py -o word_count.py python3 word_count.py If there any any problems, you could check the logging messages in the log file0 码力 | 36 页 | 266.77 KB | 1 年前3PyFlink 1.16 Documentation
dev/requirements.txt 2. Conda install pandoc conda install pandoc 3. Build the docs python3 setup.py build_sphinx 4. Open the pyflink-docs/build/sphinx/html/index.html in the Browser 1.1 Getting Started githubusercontent.com/apache/flink/master/flink-python/pyflink/ ˓→examples/table/word_count.py -o word_count.py python3 word_count.py # You will see outputs as following: # Use --input to specify file input. # Printing githubusercontent.com/apache/flink/master/flink-python/pyflink/ ˓→examples/table/word_count.py -o word_count.py python3 word_count.py If there any any problems, you could check the logging messages in the log file0 码力 | 36 页 | 266.80 KB | 1 年前3PyWebIO v1.6.1 Documentation
small=None, link_style=False, outline=False, group=False, scope=None, position=- 1, **callback_options) → py- webio.io_ctrl.Output Output a group of buttons and bind click event Parameters • buttons (list) underscore in this directory. For example, given the following folder structure: . A a.py B b.py c.py All three python files contain main PyWebIO application function. 4.5. pywebio.platform — Release 1.6.1 If you use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if the files have been modified after run path_deploy() 0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.3.3 Documentation
given the following folder structure: . A a.py B b.py c.py If you use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if Tornado Use pywebio.platform.tornado.webio_handler() to get the WebSocketHandler class for running Py- WebIO applications in Tornado: import tornado.ioloop import tornado.web from pywebio.platform.tornado platform.django.webio_view() to get the view function for running PyWebIO applications in Django: # urls.py from django.urls import path from pywebio.platform.django import webio_view # `task_func` is PyWebIO 0 码力 | 100 页 | 1.34 MB | 1 年前3PyWebIO v1.7.1 Documentation
directory. For example, given the following folder structure: . ├── A │ └── a.py ├── B Parameters: │ └── b.py └── c.py All three python files contain main PyWebIO application function. If you use use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if the files have been modified after run path_deploy(), you can use reload path as parameter and return HTML content in string. You can override the index page by add a index.py PyWebIO app file to the directory. static_dir (str) – Directory to store the application static files 0 码力 | 152 页 | 7.47 MB | 1 年前3PyWebIO v1.8.1 Documentation
directory. For example, given the following folder structure: . ├── A │ └── a.py ├── B Parameters: │ └── b.py └── c.py All three python files contain main PyWebIO application function. If you use use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if the files have been modified after run path_deploy(), you can use reload path as parameter and return HTML content in string. You can override the index page by add a index.py PyWebIO app file to the directory. static_dir (str) – Directory to store the application static files 0 码力 | 160 页 | 7.47 MB | 1 年前3PyWebIO v1.5.2 Documentation
small=None, link_style=False, outline=False, group=False, scope=None, position=- 1, **callback_options) → py- webio.io_ctrl.Output Output a group of buttons and bind click event Parameters • buttons (list) underscore in this directory. For example, given the following folder structure: . A a.py B b.py c.py All three python files contain main PyWebIO application function. 4.5. pywebio.platform — Release 1.5.2 If you use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if the files have been modified after run path_deploy() 0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.8.2 Documentation
directory. For example, given the following folder structure: . ├── A │ └── a.py ├── B Parameters: │ └── b.py └── c.py All three python files contain main PyWebIO application function. If you use use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if the files have been modified after run path_deploy(), you can use reload path as parameter and return HTML content in string. You can override the index page by add a index.py PyWebIO app file to the directory. static_dir (str) – Directory to store the application static files 0 码力 | 160 页 | 7.47 MB | 1 年前3PyWebIO v1.2.3 Documentation
given the following folder structure: . A a.py B b.py c.py If you use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if visit http://localhost/tool to open the PyWebIO application. Django Need to add a route in urls.py: # urls.py from functools import partial from django.urls import path from django.views.static import serve cell_height='auto', cell_widths=None, cell_heights=None, direction='row', scope=- 1, position=- 1) → py- webio.io_ctrl.Output Output content using grid layout Parameters • content – Content of grid, which 0 码力 | 92 页 | 1.32 MB | 1 年前3PyWebIO v1.7.1 Documentation
small=None, link_style=False, outline=False, group=False, scope=None, position=- 1, **callback_options) → py- webio.io_ctrl.Output Output a group of buttons and bind click event Parameters • buttons (list) underscore in this directory. For example, given the following folder structure: . A a.py B b.py c.py All three python files contain main PyWebIO application function. 4.5. pywebio.platform — Release 1.7.1 If you use this directory in path_deploy(), you can access the PyWebIO application in b.py by using URL http://: /A/b. And if the files have been modified after run path_deploy() 0 码力 | 112 页 | 1.38 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100