import base64
      
      base64.b64encode(mystring).decode('utf-8')
      
      Python language logo

      encode base64

      base64
      encode
      Python public recipes

      Encode a string in base64

      Shortcut: base64.encode

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.