title: Convert ascii string to base64 without the "b" and quotation marks
body: <p>I wanted to convert an ascii string (well just text  to be precise) towards base64.
  So I know how to do that, I just use the following code:</p>
  
  <pre><code>import base64
  string = base64.b64encode(bytes("string", 'utf-8'))
  print (string)
  </code></pre>
  
  <p>Which gives me</p>
  
  <pre><code>b'c3RyaW5n'
  </code></pre>
  
  <p>However the problem is, I'd like it to just print</p>
  
  <pre><code>c3RyaW5n
  </code></pre>
  
  <p>Is it possible to print the string without the "b" and the '' quotation marks?
  Thanks!</p>