このコードを使用してweb.pyサーバーを起動しようとしています。
if __name__ == "__main__":
p = Process(target=app.run) #starts the web.py server
p.start()
main() #starts a main listening loop for errors, testing and logging
p.join()
どこ
app = web.application(urls, globals()) #part of the web.py framework... starts the REST server
しかし、私はこの例外を受け取ります:
Traceback (most recent call last):
File "apitest.py", line 90, in <module>
p = Process(target=app.run)
TypeError: this constructor takes no arguments
私はどこでもグーグルで検索しましたが、何が起こっているのかわかりません...誰か助けてもらえますか?
ありがとうございました!