#!/usr/bin/env python import logging from SimpleBackend import SimpleBackend from HTTPFrontend import HTTPFrontend from ConfigurableBot import ConfigurableBot # Uncomment the following line to turn on debugging #logging.basicConfig(level=logging.DEBUG, format='%(levelname)-8s %(message)s') def main() : backend = SimpleBackend() bot = ConfigurableBot("bot@cheshir.lit", "mypass", backend, "http://cheshir.lit") bot.start() httpFrontend = HTTPFrontend(8080, backend) httpFrontend.start() if __name__ == '__main__' : main()