Skip to content

Instantly share code, notes, and snippets.

@mrodem
Created September 12, 2017 09:08
Show Gist options
  • Save mrodem/0044d188ad1e8c867d3bb01ad5636395 to your computer and use it in GitHub Desktop.
Save mrodem/0044d188ad1e8c867d3bb01ad5636395 to your computer and use it in GitHub Desktop.
import zerorpc
c = zerorpc.Client()
c.connect("tcp://127.0.0.1:4242")
adapters = c.getAdapters()
for serial_number, adapter in adapters.items():
print(serial_number)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment