I am trying to print unicode characters for strings. For example, '{' should print as '007B' (with the leading zeroes)
All I can do at the moment is this:
binascii.hexlify(unicode("{"))
'7b'
I want to be able to give it a string like "test" and it should print "0074006500730074"