Код: Выделить всё
for root, dirs, files in os.walk('.'):
print(root)
Код: Выделить всё
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc3' in position 27: surrogates not allowed
Подробнее здесь: https://stackoverflow.com/questions/273 ... t-encode-s
Мобильная версия