python转换ascii码

字符转数字

ord("A")

数字转字符

chr(65)
posted @ 2019-08-30 14:18  KainHuck  阅读(315)  评论(0编辑  收藏  举报