werkzeug实现的简单性从request请求中获取name值
代码代码
fromwerkzeug.wrappersimportrequest,responsedefapplication(Environ, start_response ) :request=request ) Environ %request.args.get(‘name ),’ Keny88888 ‘ ) response=response ) mimetype=’text/plain ‘ ) return response start _ response (if _ name _=’ _ main _ ‘ : fromwerkzeug.SERS )
2.2赋值为name=8888888http://localhost 33605000/name=8888888888