(value)
return base64.b64encode(value)
Encodes string value from plain to Base64 format

    >>> base64encode('foobar')
    'Zm9vYmFy'
Encodes string value from plain to Base64 format
Encodes string value from plain to Base64 format
def base64encode(value):
    """
    Encodes string value from plain to Base64 format

    >>> base64encode('foobar')
    'Zm9vYmFy'
    """

    return base64.b64encode(value)
def base64encode ( value ) : return base64 . b64encode ( value )