本文共 63 字,大约阅读时间需要 1 分钟。
ord()把ASCII转换成数字
chr()则相反,把数字转换成ASCII
ord('s') #115
chr(115) #s
转载地址:http://fqdol.baihongyu.com/