How to change a string to hex
<p>So I have this normal string and I want to get its hex value in Python.
Example:
":" I want the program to output "0x3a" 
However I searched didn't find anything here. Do you know how to do this?</p>
