I have been reading the Python docs on the CSV module here: https://docs.python.org/2/library/csv.html
And I noticed that it does not mention any way for a reader object to return the number of the line it is currently reading, or which iteration it is currently at. This seems like it would be a widely needed functionality. So, I am wondering how one can do this:
reader = csv.DictReader(readFile)
for row in reader:
# do something
# now want to find the line number that row corresponds to
Or if that is not possible, why that is the case.