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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/e/0/E-learning-HEAD/MUCDialog.py   E-learning(Download)
	def receiveMessage(self, nick, msg):
		time = str(datetime.datetime.now().strftime("%H:%M:%S"))
		message = """\n<span style="color: darkblue">[%s] <strong>%s:</strong></span> %s""" % (time, nick, msg)#(time, self.con.getName(self.jidTo[0]), msg)
		self.tbr_browser.append(message)
		self.emit(SIGNAL("debug"), "MUC message form " + self.con.getName(self.jidTo[0]) + ":\n" + msg + "\n\n")

src/e/0/E-learning-HEAD/MessageDialog.py   E-learning(Download)
			message = """\n<span style="color: darkblue">[%s] <strong>%s:</strong></span> %s""" % (time, self.con.getName(self.jidTo[0]), msg)
		self.tbr_browser.append(message)
		self.emit(SIGNAL("debug"), "message form " + self.con.getName(self.jidTo[0]) + ":\n" + msg + "\n\n")
 
	def sendMessage(self, text):