12 if len(sys.argv) != 4:
13 print "usage: ./meanstep.py <datadir> <matching col 1>,...,<matching col n> <mean col 1>,...,<mean col n>"
16 matchcols = sys.argv[2].split(",")
18 for root, dirs, filenames in os.walk(sys.argv[1]):
23 with open(root + "/" + f) as inf:
28 linecols = line.split()
30 for imatchcol in range(0,len(matchcols)):
31 matchkey = matchkey + linecols[int(matchcols[imatchcol])]
35 #results[f[:-4]] = "tefds"