DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
convert file to base64 python
import base64 data = open("sample.txt", "r").read() encoded = base64.b64encode(data)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#convert
#file
#python
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit