examples added
This commit is contained in:
10
examples/cherry_hello_world.py
Normal file
10
examples/cherry_hello_world.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import cherrypy
|
||||
|
||||
|
||||
class HelloWorld(object):
|
||||
@cherrypy.expose
|
||||
def index(self):
|
||||
return "Hello World!"
|
||||
|
||||
|
||||
cherrypy.quickstart(HelloWorld())
|
||||
Reference in New Issue
Block a user