11 lines
188 B
Python
11 lines
188 B
Python
|
#!/usr/bin/python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import sys
|
||
|
|
||
|
index = 0
|
||
|
with open(sys.argv[1]) as corpus:
|
||
|
for line in corpus:
|
||
|
index += 1
|
||
|
print(str(index)+"\t"+line.rstrip())
|