This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |