[Python]: Tools to enter commands and capture log automatically from telnet batchly.