sorlの内部でPILがエラー 環境はmacosx 手っ取り早い対症療法 sudo pip uninstall PIL sudo pip install pillow これで動いた 参考 : python - Need help with a PIL Error -- IOError: decoder zip not available - Stack Overflow
rangeにstringを渡すとbyte positionとruneを1つずつ取得できる package main import ( "fmt" "unicode/utf8" ) func main() { s := "あいうえお" // rangeにstringを渡すとpos,runeを順に返す for pos, r := range s { fmt.Printf("character %c starts at byte position %d. unicode format is %U\n", r, pos, r) } // -> character あ starts at byte position 0. unicode format is U+3042 'あ' // -> character い starts at byte position 3. unicode format i
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く