Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get count for all "servers"
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