Oct-06-2018, 03:00 PM
The problem is enumerate. Enumerate returns a tuple of an index of the item and the item. Since you don't seem to be using an index for the lines in the loop, I would just loop over yrs_file, not enumerate(yrs_file).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures