L
Leo Jay
I'd like to encode a string in base64, but I found a inconsistent of
two methods:
as you can see, the result of
'aaa'.encode('base64')
has a '\n' at the end, but the other method doesn't.
Why the inconsistent?
Thanks.
two methods:
as you can see, the result of
'aaa'.encode('base64')
has a '\n' at the end, but the other method doesn't.
Why the inconsistent?
Thanks.