You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 60 is in python 2.x while the rest of the project is in python 3.x
Line 58 open the file in binary which does not work since the CSV is not a binary
Line 447 hidden files such as ".DS_Store" will result in an error, I propose to modify the line to dirs_int = [int(dir) for dir in dirs if dir.isdigit()]
Line 386,389 text variable needs to be decoded into utf-8 with text.decode("utf-8")
Line 395 I get an AttributeError when obj is a bytes ( I assume it should not be ). I decided to catch the error and return the byte decoded to utf-8 which works.
Also in windows many file opening needs an explicit encoding parameter Line 218 & 58 (that's just python being annoying).
The text was updated successfully, but these errors were encountered:
EDIT : This seems to only matter for windows user
Line 60 is in python 2.x while the rest of the project is in python 3.x
Line 58 open the file in binary which does not work since the CSV is not a binary
Line 447 hidden files such as ".DS_Store" will result in an error, I propose to modify the line to dirs_int = [int(dir) for dir in dirs if dir.isdigit()]
Line 386,389 text variable needs to be decoded into utf-8 with text.decode("utf-8")
Line 395 I get an AttributeError when obj is a bytes ( I assume it should not be ). I decided to catch the error and return the byte decoded to utf-8 which works.
Also in windows many file opening needs an explicit encoding parameter Line 218 & 58 (that's just python being annoying).
The text was updated successfully, but these errors were encountered: