demo_string_hex.py:
#A backslash followed by an 'x' and a hex number represents a hex value: txt = "\x48\x65\x6c\x6c\x6f" print(txt)
C:\Users\My Name>python demo_string_hex.py
Hello