python 3.x上安裝web.pypython
查詢以後,安裝時使用pip3 install web.py==0.40.dev0
web
最終能夠運行shell
app.pyapp
import web
urls=(
'/','index'
)
app=web.application(urls,globals())
class index:
def GET(self):
greeting="hello world"
return greeting
if __name__=="__main__":
app.run()
url
程序目錄spa
bin目錄下app.pycode