Get your own Python server
Module for Telnet protocol
Use Telnet() to create connections

DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13