1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00
libserialport/config-header.py

4 lines
162 B
Python
Raw Normal View History

pattern = str.join('', open("config-pattern").readlines())
for line in open("config-fields").readlines():
print pattern.format(*line.rstrip("\n").split(","))