Apparently your file has a different encoding than utf8.
Alright thanks for your kind response .pls what do you suggest could be the soln
Add an encoding=
argument to open()
. I don’t know what the right value would be though.
Actually the stack trace implies that it errored trying to encode using cp1252
, you you might have better luck explicitly trying utf8
.
1 Like