DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
json to base64 python
data = '{"hello": "world"}' enc = data.encode() # utf-8 by default print base64.encodestring(enc)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#json
#python
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit