import fileinputfor line in fileinput.input(inplace=True): line = line.rstrip() num = fileinput.lineno() print '%-40s # %2i' % (line, num)
Name (required)
email (will not be published) (required)
Website