Life is short, you need Python

Translate between Char and ASCII

Python provide build-in function to help us translate bettween Char and ASCII, for example:

>>>print ord("a")
97
>>>print chr(97)
a

 

 

 

posted @ 2010-06-21 12:35  runfox545  阅读(163)  评论(0编辑  收藏  举报
白月黑羽 Python教程 白月黑羽Python