Skip to content

Instantly share code, notes, and snippets.

View therg's full-sized avatar

Ryan Griffin therg

View GitHub Profile
#!/usr/bin/python
import time
import telnetlib
def inittn():
tn = telnetlib.Telnet("192.168.1.24", 23, 3)
tn.read_until("login:")
tn.write("lutron\r\n")
tn.read_until("password:")
tn.write("integration\r\n")