#!/usr/bin/env python
from os.path import abspath
from circuits import Debugger
from circuits.web import Controller, Server
class Root(Controller):
def index(self, event):
return self.serve_file(abspath("python.png"), type="image/png")
(Debugger() + Server(8100) + Root()).run()