Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
usage demo for a StaticFileScanner resource for twisted (StaticFileScanner @
# Copyright 2013, Alex Ausch
# Free to use under attribution license:
from twisted.web.resource import Resource
from twisted.application import service
from StaticFileScanner import StaticFileScanner
root = Resource()
application = service.Application("demo")
internet.TCPServer(80, Site(root)).setServiceParent(application)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment