from mk_rb4011_exec import run print(run(r""" :put ("users=" . [:len [/ip hotspot user find]]) /ip hotspot user print :put "===PPP===" :put ("ppp-active=" . [:len [/ppp active find]]) :put "===LOGINBY===" :put [/ip hotspot profile get [find name=hsprof1] login-by] :put "===HW===" :put [/interface bridge port get [find interface=ether2] hw] """, timeout=40))