0
TypeError: sendto() takes 2 or 3 arguments (1 given)
I got an error when im trying to do the function send to, ¿Anyone knows why? while message != 'q': if message != '': envio = alias + ": " + message, server s.sendto(str(envio).encode('utf-8')) #por si quiere enviar mas mensajes tLock.acquire() message = input (alias + "-> ") tLock.release() time.sleep(0.2) shutdown = True
0 Antworten