blob: 6ede8f6e515549025065e4de20e363fed62d74c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/python
import sys
from itertools import izip
for linenr, (src_line, tgt_line) in enumerate(izip(open(sys.argv[1]), open(sys.argv[2]))):
print linenr, (src_line.strip())
print linenr, (tgt_line.strip())
print
|