Raspberry Pi Guia Del Usuario página 168

Ocultar thumbs Ver también para Pi:
Tabla de contenido

Publicidad

for line in lines:
response = line.rstrip().split(' ', 3)
response_code = response[1]
if response_code == RPL_NAMREPLY:
names_list = response[3].split(':')[1]
names += names_list.split(' ')
if
names
names
names_list.split(' ')
if response_code == RPL_ENDOFNAMES:
# Display the names
print '\r\nUsers in %(channel)s:' % irc
for name in names:
print name
names = []
time.sleep(irc['namesinterval'])
s.send('NAMES %(channel)s\r\n' % irc)
names
namesinterval
ircuserlist.py
python ircuserlist.py
lines
split
names +=
name = []
namesinterval

Publicidad

Tabla de contenido
loading

Tabla de contenido