How can I convert a character to a integer in Python, and viceversa?
Posted
by Manuel
on Stack Overflow
See other posts from Stack Overflow
or by Manuel
Published on 2009-04-01T05:19:15Z
Indexed on
2010/03/08
2:12 UTC
Read the original article
Hit count: 510
I want to get, given a character, its ascii value.
For example, for the character 'a', I want to get 97, and viceversa.
Thanks,
Manuel
© Stack Overflow or respective owner