使用pywebio.platform.path_deploy()时报错“TypeError: path_deploy() got multiple values for argument 'port'”,一直找不到解决的办法!!! #550
-
from pywebio.input import input, TEXT def main(): 2.在根目录下,新建了一个run.py的文件,用来同时启动a.py 和 b.py中的应用,代码如下: from pywebio.platform.path_deploy import path_deploy if name == 'main': 这个问题该怎么解决,先感谢各位大佬们了!!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
或者说,在pywebio中,如何实现同时启动/部署多个独立应用,部署后,通过不同的URL,可以访问相对应的应用,例如: |
Beta Was this translation helpful? Give feedback.
-
path_deploy() 不是这样使用的,path_deploy接收的参数是pywebio应用文件存放的路径。 文档:https://pywebio.readthedocs.io/zh_CN/latest/platform.html#directory-deploy |
Beta Was this translation helpful? Give feedback.
path_deploy() 不是这样使用的,path_deploy接收的参数是pywebio应用文件存放的路径。
文档:https://pywebio.readthedocs.io/zh_CN/latest/platform.html#directory-deploy