This is comment for paste
chuh
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- IP = "192.168.1.100" # IP komputera z recorder.py
- PORT = 5000
- code = input("Podaj kod części: ")
- with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
- s.connect((IP, PORT))
- s.sendall((code + "\n").encode("utf-8"))
- print("Wysłano.")
Advertisement
Add Comment
Please, Sign In to add comment