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(","))
|