Я хотел бы сделать эквивалент:
Код: Выделить всё
iconv -t utf-8 $file > converted/$file # this is shell code
Подробнее здесь: https://stackoverflow.com/questions/191 ... -in-python
Код: Выделить всё
iconv -t utf-8 $file > converted/$file # this is shell code