python ascii char to decimal converter library code example Example: ascii to decimal python >>> ord('a') 97 >>> chr(98) 'b'