11 lines
188 B
Python
Executable File
11 lines
188 B
Python
Executable File
#!/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())
|