repo.or.cz
/
libserialport
/
gsi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
NEWS: Last updates for the upcoming 0.1.1 release.
[libserialport/gsi.git]
/
config-header.py
blob
583fe27753996b288436fd527d0d013f88ef24e2
1
pattern
=
str
.
join
(
''
,
open
(
"config-pattern"
).
readlines
())
2
for
line
in
open
(
"config-fields"
).
readlines
():
3
print
pattern
.
format
(*
line
.
rstrip
(
"
\n
"
).
split
(
","
))