Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS E:\> python getDirSize.py
- running on dir "."
- Traceback (most recent call last):
- File "getDirSize.py", line 31, in <module>
- listContents();
- File "getDirSize.py", line 23, in listContents
- f.write(c)
- File "C:\Users\Owner\AppData\Local\Programs\Python\Python36\lib\encodings\cp1252.py", line 19, in encode
- return codecs.charmap_encode(input,self.errors,encoding_table)[0]
- UnicodeEncodeError: 'charmap' codec can't encode characters in position 11-21: character maps to <undefined>
Add Comment
Please, Sign In to add comment