Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Created April 14, 2016 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurozumi/c7facae1955ae242327d8965401fe880 to your computer and use it in GitHub Desktop.
Save kurozumi/c7facae1955ae242327d8965401fe880 to your computer and use it in GitHub Desktop.
【Python】ファイルの文字コードを変換する方法
# coding: utf-8
import os
os.system("nkf --overwrite -s file.txt")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment