mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
4 lines
162 B
Python
4 lines
162 B
Python
|
pattern = str.join('', open("config-pattern").readlines())
|
||
|
for line in open("config-fields").readlines():
|
||
|
print pattern.format(*line.rstrip("\n").split(","))
|