Skip to content

Commit 126e3c7

Browse files
committed
cherrypy: add hello
1 parent df0364f commit 126e3c7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

cherrypy/hello.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import cherrypy
2+
3+
class HelloWorld(object):
4+
def index(self):
5+
return "Hello World!"
6+
index.exposed = True
7+
8+
cherrypy.quickstart(HelloWorld())

0 commit comments

Comments
 (0)