Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一本带有 { 'utf8 char' : number } 的字典。pprint() 会将 utf8 视为字节数组并输出十六进制值。是否可以告诉它以字符串形式打印,以便控制台可以呈现 UTF8 文本?