# -*- coding: utf-8 -*-
import sys
reload(sys) # This reloads the system default encoding setup
sys.setdefaultencoding('utf-8') # Set the default encoding to 'utf-8'
print(sys.getdefaultencoding())
写在最后:若本文章对您有帮助,请点个赞啦 ٩(๑•̀ω•́๑)۶
# -*- coding: utf-8 -*-
import sys
reload(sys) # This reloads the system default encoding setup
sys.setdefaultencoding('utf-8') # Set the default encoding to 'utf-8'
print(sys.getdefaultencoding())
写在最后:若本文章对您有帮助,请点个赞啦 ٩(๑•̀ω•́๑)۶