一.安装PyRestful库 $ pip install pyrestful 二.使用案例 (一)books_service.py # -*- coding: utf-8 -*- import tornado.ioloop import pyrestful.rest from pyrestful import mediatypes from pyrestful.rest import get, post, put, delete class Book(object): isbn = int ti