为了永久解决UnicodeDecodeError: 'ascii' codec can't decode byte 0x?? in position 1: ordinal not in range(128)
的问题
新建sitecustomize.py
文件
添加如下内容:
import sys
reload(sys)
sys.setdefaultencoding('utf8')
存放到/usr/local/lib/python2.7/site-packages
路径下。
为了永久解决UnicodeDecodeError: 'ascii' codec can't decode byte 0x?? in position 1: ordinal not in range(128)
的问题
新建sitecustomize.py
文件
添加如下内容:
import sys
reload(sys)
sys.setdefaultencoding('utf8')
存放到/usr/local/lib/python2.7/site-packages
路径下。
一、幾個基本概念 登錄用戶(login user):通過登錄方式進入系統的用戶,強調登錄身份。 當前用戶(current user):執行一個進程或者命令時所使用的用戶身份,強調執行身份。 舉