title: How to encode a text string into a number in Python?
body: <p>Let's say you have a string:</p>
  
  <pre><code>mystring = "Welcome to the InterStar cafe, serving you since 2412!"
  </code></pre>
  
  <p>I am looking for a way to convert that string into a number, like say:</p>
  
  <pre><code>encoded_string = number_encode(mystring)
  
  print(encoded_string)
  
  08713091353153848093820430298
  </code></pre>
  
  <p>..that you can convert back to the original string.</p>
  
  <pre><code>decoded_string = number_decode(encoded_string)
  
  print(decoded_string)
  
  "Welcome to the InterStar cafe, serving you since 2412!"
  </code></pre>
  
  <p>It doesn't have to be cryptographically secure, but it does have to put out the same number for the same string regardless of what computer it's running on. </p>