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

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

src/s/f/sftmumblebot-HEAD/IRCConnection.py   sftmumblebot(Download)
			if(len(line) >= 4):
				if(line[1] == "PRIVMSG"):
					self._invokeTextCallback(line[0].split('!')[0].lstrip(': '), line[3].lstrip(': '))
				if(line[3] == "#" + self._channel + " :End of /NAMES list."):
					self._connectionEstablished();

src/s/f/sftmumblebot-HEAD/ConsoleConnection.py   sftmumblebot(Download)
		except KeyboardInterrupt:
			self._log("keyboard interrupt", 1)
			self._invokeTextCallback("console", "Goodbye.")
			return False
 
						uline = line.decode('ascii', errors='ignore')
		if(uline):
			self._invokeTextCallback("console", uline)
		return True
 

src/s/f/sftmumblebot-HEAD/MumbleConnection.py   sftmumblebot(Download)
				self._log("unknown text message sender id: " + str(pbMess.actor), 3)
			self._log("text message received, sender: " + sender, 2)
			self._invokeTextCallback(sender, pbMess.message)
		elif messagetype == Mumble_pb2.UserState:
			self._log("user state package received.", 2)