[Solved] Python 3.6: How to save file with unicode/utf-8 filename? [closed]


Add the arg “encoding = ‘utf-8′”

  with open(path_to_save, "wb", encoding="utf-8") as save_file:
        save_file.write(data)

3

solved Python 3.6: How to save file with unicode/utf-8 filename? [closed]