title: python base64 encode to string
body: <p>I want to encode some data as Base64, and then have the encoded data concatenated in a string.</p>
  
  <p>when I do:</p>
  
  <pre><code>four=base64.urlsafe_b64encode(bytes(MAIL, "utf-8"))
  print (four)
  </code></pre>
  
  <p>result will be:</p>
  
  <pre><code>b'YWxleEBhbGV4LmFsZXg='
  </code></pre>
  
  <p>I want to remove the b'' from four. So that only YWxleEBhbGV4LmFsZXg= is shown.
  How do I go about getting just the string YWxleEBhbGV4LmFsZXg= withouth the byte type?</p>