From 4350b90ce9273d5cca32c35b606e4157f417cea2 Mon Sep 17 00:00:00 2001 From: The Peeps191 <74725787+ThePeeps191@users.noreply.github.com> Date: Thu, 20 Jan 2022 15:01:25 -0700 Subject: [PATCH] Add CherryPy (#1240) * add cherry * increase language count * update readme file to unclude cherry --- c/Cherry.py | 8 ++++++++ readme.md | 1 + 2 files changed, 9 insertions(+) create mode 100644 c/Cherry.py diff --git a/c/Cherry.py b/c/Cherry.py new file mode 100644 index 0000000..48093f6 --- /dev/null +++ b/c/Cherry.py @@ -0,0 +1,8 @@ +import cherrypy + +class HelloWorld(object): + @cherrypy.expose + def index(self): + return "Hello World" + +cherrypy.quickstart(HelloWorld()) diff --git a/readme.md b/readme.md index 841ead8..d8130ec 100644 --- a/readme.md +++ b/readme.md @@ -255,6 +255,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib * [Cheese++](c/Cheese%2B%2B.cheese) * [Chef](c/Chef.ch) * [Chem](c/Chem) +* [CherryPy](c/Cherry.py) * [Chicken](c/Chicken.chicken) * [Cil](c/Cil.il) * [Clean](c/Clean.icl)