3
from TwistedQuotes import webquoteresource
5
#__file__ is defined to be the name of this file; this is to
6
#get the sibling file "quotes.txt" which should be in the same directory
8
quotefile = os.path.join(os.path.split(__file__)[0], "quotes.txt")
10
#ResourceScript requires us to define 'resource'.
11
#This resource is used to render the page.
12
resource = webquoteresource.QuoteResource([quotefile])