debug时报错:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 1023: unexpected end of data

debug时报错:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 1023: unexpected end of data

  • 编码问题:在开头加上

    #!/usr/bin/env python
    # coding=utf-8
    
posted @ 2022-03-28 20:04  小杨的冥想课  阅读(686)  评论(0编辑  收藏  举报