panda/tests/get_version.py

10 lines
180 B
Python
Executable File

#!/usr/bin/env python
from panda import Panda
if __name__ == "__main__":
for p in Panda.list():
pp = Panda(p)
print("%s: %s" % (pp.get_serial()[0], pp.get_version()))