I've used both pexpect and python's built-in telnetlib somewhat regularly to talk to "dumb" telnet devices. Depending on how complicated the data is, telnetlib might be good enough and will work ...