python convert integer to character code example Example 1: int to char python charNumber = chr(30) Example 2: int ot char python print(ord('a')) #Output 97