Search
 
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
Name
6+2 =