Skip to content

Instantly share code, notes, and snippets.

import cherrypy
import os
class GalleryClass(object):
exposed = True
def __init__(self):
pass
# this line will map the first argument after / to the 'id' parameter
# for example, a GET request to the url: