from mk_rb4011_exec import run print(run(r""" :put "===ID===" /system identity print :put "===WIFI===" /interface wireless print :put "===HS-PROF-ADDR===" /ip hotspot profile print where name=hsprof1 :put "===USERS===" :put ("hs-users=" . [:len [/ip hotspot user find]]) :put ("ppp=" . [:len [/ppp secret find]]) :put ("ppp-active=" . [:len [/ppp active find]]) :put "===PORTS===" /interface bridge port print :put "===BIND===" /ip hotspot ip-binding print :put "===WG===" /interface wireguard print :put "===WLAN1-REG===" /interface wireless registration-table print """, timeout=50))