應用程序對象的 add_url_rule() 函數也可用於將URL與函數綁定,如上例所示,使用 route() 。 def hello_world(): return 'hello world' ...
確定! 回上一頁