panda/tests/get_version.py

8 lines
173 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)
2024-02-25 05:56:28 +08:00
print(f"{pp.get_serial()[0]}: {pp.get_version()}")