- 2022.03.28 Monday
- スポンサーサイト
-
一定期間更新がないため広告を表示しています
- | スポンサードリンク | - | | - | - | pookmark |
- 2020.08.05 Wednesday
- python ファイル出力 utf-8
-
UE4 BluePrint の中でも使える。
#!/usr/bin/env python # -*- coding: utf-8 -*- import codecs u""" asciiでもなんでも変換したい文字列 """ fout = codecs.open('UTF-8.txt', 'w', 'utf_8') fout.write(Txt)
それにしてもこんな書き方するもんだ u"""UTF-8""" へんなの
StrToFilePython
参考
http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/python/encoding.html
- | whaison | Python | 10:45 | comments(0) | - | pookmark |
- Comment