how to get int value from char in python code example
Example 1: python convert ascii to char
>>> chr(104)
'h'
>>> chr(97)
'a'
>>> chr(94)
'^'
Example 2: python convert ascii to char
>>> ord('h')
104
>>> ord('a')
97
>>> ord('^')
94
>>> chr(104)
'h'
>>> chr(97)
'a'
>>> chr(94)
'^'
>>> ord('h')
104
>>> ord('a')
97
>>> ord('^')
94