首页 > 代码库 > Running error: 'utf-8' codec can't decode byte 0xb4 in position 0: invalid start byte

Running error: 'utf-8' codec can't decode byte 0xb4 in position 0: invalid start byte

Running Error:

技术分享

 

It is caused by the txt‘s encode format. Please do use UTF-8 to save the file (you can use Notepad++ to choose the encode format to save the file) if you would like to read in a python script. 

Running error: 'utf-8' codec can't decode byte 0xb4 in position 0: invalid start byte