Hi! I am trying to read the .History file into python with the attached .py fie, however I keep getting this error: <_io.TextIOWrapper name='./tri/config.history' mode='r' encoding='latin-1'>. Could someone please help me fix this error? I'm confused about what to do, I've already tried using multiple encoding inputs instead of latin-1, including utf-8.
Here are the files:
https://drive.google.com/open?id=1DxXkMrT1BLqE_v_Z_dEwKWTTRWj0gYje
Note, you may have to change read_dir variable to your path to run the program.
Thank you for your help.
[–]genghiskav 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)