Last active
September 22, 2022 08:28
-
-
Save rondreas/a2d396335b9c0832dae01ff71b9079b5 to your computer and use it in GitHub Desktop.
Get count for all "servers"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lx | |
host_svc = lx.service.Host() | |
# look over all lx.symbol.a_* constants, | |
for k, v in lx.symbol.__dict__.items(): | |
if k.startswith("a_"): | |
print(f"{k}: {host_svc.NumServers(v)}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment