blob: fcb2d2d8eea44626f3c1e8b8f0c5c9ca1d7ebd04 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import sys
inputfile = open(sys.argv[1], 'r')
for line in inputfile:
cells = line.split()
#print cells[int(sys.argv[2])]
i = len(cells)
print i
inputfile.close()
|