Mine
public text v1 · immutable#########foo.py###########
class test:
def default(self):
return "Hello World"
default.exposed=True
#########myServ.py:###########
import cherrypy
import foo #foo is the other file...
cherrypy.root= foo.test()
cherrypy.server.start()