The Python Oracle

How can I convert a character to a integer in Python, and viceversa?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Unforgiving Himalayas Looping

--

Chapters
00:00 Question
00:25 Accepted answer (Score 696)
00:37 Answer 2 (Score 134)
00:46 Answer 3 (Score 23)
00:57 Answer 4 (Score 1)
01:11 Thank you

--

Full question
https://stackoverflow.com/questions/7041...

Accepted answer links:
[chr()]: http://docs.python.org/library/functions...
[ord()]: http://docs.python.org/library/functions...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #integer #char #typeconversion

#avk47