title: Converting all chars in a string to ascii hex in python
body: <p>Just looking for python code that can turn all chars from a normal string(all english alphbetic letters) to ascii hex in python. I'm not sure if I'm asking this in the wrong way because i've been searching for this but can't seem to find this.</p>
  
  <p>I must just be passing over the answer, but i would love some help.</p>
  
  <p>Just to clarify, from 'Hell' to '\x48\x65\x6c\x6c'</p>