.user_profile{ display:block}

字符转化为ASCII

Python提供了ord和chr两个内置的函数,用于字符与ASCII码之间的转换。
>>> print ord('a')
97
>>> print chr(97)
a
posted @ 2018-06-11 17:05  软萌团子  阅读(344)  评论(0编辑  收藏  举报