Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(35)  |  Call(11)  |  Derive(6)  |  Import(18)

src/x/m/xmpp-tdg-examples-HEAD/code/CheshiR/CheshiR-Bot.py   xmpp-tdg-examples(Download)
from SimpleBackend import SimpleBackend
from HTTPFrontend import HTTPFrontend
from Bot import Bot
 
# Uncomment the following line to turn on debugging
#logging.basicConfig(level=logging.DEBUG, format='%(levelname)-8s %(message)s')
 
def main() :
	backend = SimpleBackend()
	bot = Bot("bot@cheshir.lit", "mypass", backend, "http://cheshir.lit")