unicode,str python内部表示字符串用unicode,与外界交互时用str 获取unicode对象的方法 xx.decode('utf8') #无论填什么,也会产生unicode对象 unicode('xx')