Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify encoding in parrot.py example
I needed this to fix ``` Traceback (most recent call last): File "parrot.py", line 22, in <module> text = open(os.path.join(d, 'wiki_rainbow.txt')).read() File "F:\Programme\Programme\Anaconda3\envs\textrecognition\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 33225: character maps to <undefined> ``` on windows, in python 3.7.3
- Loading branch information