Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import telnetlib
- import time
- HOST = "localhost 6571"
- tn = telnetlib.Telnet(HOST)
- tn.read_until("READY")
- while True:
- tn.write(H)
- time.sleep(1)
- tn.write(L)
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement