Dec-13-2018, 06:15 PM
Spin up the debugger, and see what
If I were to take a guess, though, it's that
title_list
is, to try to find the issue.python -m pdb myfile.py -> # first line of program (Pdb)Then type
next
(or just "n") to step through the code until you get to the line that's throwing an error. Once there, type interact
, and then print(title_list)
.If I were to take a guess, though, it's that
title_list
is a list of lists, which doesn't make sense to try to make a set out of. Remember, you just changed the structure of your data, so you'll probably need to change some of the code that parses that structure so it'll work with the new structure.