PyWebIO v1.6.1 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.2 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.2 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.0 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.5.1 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.3 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.6.0 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 108 页 | 1.37 MB | 1 年前3PyWebIO v1.4.0 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 102 页 | 1.35 MB | 1 年前3PyWebIO v1.7.1 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 112 页 | 1.38 MB | 1 年前3PyWebIO v1.7.0 Documentation
PyWebIO, there are two modes to run PyWebIO applications: running as a script and using pywebio. start_server() or pywebio.platform.path_deploy() to run as a web service. Overview Server mode In server accesses the service address, PyWebIO will open a new session and run PyWebIO application in it. start_server() is the most common way to start a web server to serve given PyWebIO applications: 18 Chapter PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over to http://127.0.0.1:8080/, and you should see your0 码力 | 110 页 | 1.37 MB | 1 年前3
共 138 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14