popowa

  • TOP
  • About Aya
  • Twitter
  • Github

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte

Tweet
by ayakomuro
in tech on 2017-12-30 | tags: python

時々ディレクトリ配下にあるファイル一覧を取得して、ファイルの中身をごにょごにょする時があると思う。そういう時表題のエラー出たら、大体の場合 .DS_Store を読み込もうとしているからなので、それをスキップすればよい

This blog is proudly powered by Pelican, which takes great advantage of Python.

Fresh is a responsive theme designed by jsliang and contributors. Special thanks to Smashing Magazine and Twitter Bootstrap.