ord 字符转code chr : code转字符 print(ord('刀')) # ord 字符转Unicode # 20992print(chr(20992)) # Unicode 转成chr(字符)