a guest Jun 19th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def main():
- socket.bind(('', 8000))
- while True:
- connection, address = socket.accept()
- data = connection.recv(1024)
- data = data.decode()
- data_bak = data
- TypeError: a bytes-like object is required, not 'tuple'
RAW Paste Data