Jun-21-2017, 11:31 PM
Please show the entire traceback. It contains valuable information
and I believe part of the prblem is that you need to append
.decode('utf-8') to your read statement, like:
and I believe part of the prblem is that you need to append
.decode('utf-8') to your read statement, like:
self.filecontent = self.file.read().decode('utf-8')