panda/tests/get_version.py

8 lines
179 B
Python
Raw Normal View History

2019-09-25 08:50:53 +08:00
#!/usr/bin/env python3
2017-08-25 07:53:46 +08:00
from panda import Panda
if __name__ == "__main__":
for p in Panda.list():
pp = Panda(p)
2019-09-25 09:07:05 +08:00
print("%s: %s" % (pp.get_serial()[0], pp.get_version()))