Chr*_*ris 3 python json tornado
我这样做吗?
import cyclone
class MyHandler(cyclone.web.RequestHandler):
def get(self, command):
details = {'status':'success'}
json = json_encode(details)
self.write(json)
Run Code Online (Sandbox Code Playgroud)
或者还有更多呢?
| 归档时间: |
|
| 查看次数: |
1234 次 |
| 最近记录: |