All pastes #133141 Raw Edit

Mine

public python v1 · immutable
#133141 ·published 2006-08-15 17:51 UTC
rendered paste body
import logginglog = logging.getLogger('pycc')import syssys.path.append('..')sys.path.append('C:\\Dokumente und Einstellungen\\All Users\\Dokumente\\pycc-0.8.7\\plugins\\pyborg')from coinlib.plugin import *import stringimport pyborgimport osfrom pyborgcc import *class Pyborg(TextPlugin):	#def __init__(self, my_pyborg, my_msg):        	#self.pyborg=my_pyborg        	#self.pyborg.process_msg(self, my_msg, 100, 1, ( None ), owner = 1)        	#return message	#def output(self, message, args):		#mystring=message        	#print message	def get_style(self):		return None  	def text_transform(self, text, tags={}):                print "Start of Pyborg"                print text		my_pyborg = pyborg.pyborg()		print "1"		a = ccpyborg(my_pyborg, text)		print "2"		res = a.pyborg.reply(text)		print "3"		print res		my_pyborg.save_all()		print "4"		del my_pyborg		print "5"		return res	def build_plugins(pycc):  return { \    'pyborg': Pyborg(pycc, "Pyborg", "Un bot intelligent", "Bots")  }#ident = Identity(login="Pendu", ua="Pyborg")