codeEncodeError: ‘cp932’ codec can’t encode characterのエラー回避

UnicodeEncodeError: ‘cp932’ codec can’t encode characterのエラー回避

windowsでpythonの処理をしていると、このようなエラーが良くでます。これはpythonでwindowsにファイルをエクスポートする際、UTF-8からShift_JISに変換されているのですが、この文字コードの変 … “codeEncodeError: ‘cp932’ codec can’t encode characterのエラー回避”の続きを読む

SyntaxError: EOL while scanning string literalのエラー対処

SyntaxError: EOL while scanning string literal

SyntaxError: EOL while scanning string literal このエラーが出た場合は、ほとんどが文字列のクォートの閉じ忘れが原因です。 文字列型(str)のテキストが「’」や「 … “SyntaxError: EOL while scanning string literalのエラー対処”の続きを読む