python

python ascii character to int, int to ascii character

Нуеоп 2012. 5. 20. 11:25

print ord('a')

>>> 97


print chr(97)

>>> 'a'