Telnet from python telnetlib

Hello,

I want to use Python’s telnetlib module to manage mikrotik APs. I can log in but can not execute commands.

Is there any good resources how can I use Python’s telnetlib to manage mikrotiks?

Or are there any other Python library?

Thanks in advance.