Path Not Found in CherryPy
问题 I've been working on implementing a test API in CherryPy. I've read a few forums, tutorials and pieced together the code that the old Python developer at work had written and this is what I've got: import json import cherrypy class person: def default(self, *args): r = { 'firstName': args[0], 'lastName': args[1], 'age': args[2] } return json.dumps(r) default.exposed = True class api: def __init__(self): self.person = person() class Root: def __init__(self): self.api = api() conf = { '/': {