Question : base64 python flask html
Answered by : suman-michael
with open("sample.jpg", 'rb') as image_file: image_64_encode = base64.b64encode(image_file.read()).decode("utf-8")
Source : | Last Update : Sat, 17 Jul 21
Answered by : suman-michael
with open("sample.jpg", 'rb') as image_file: image_64_encode = base64.b64encode(image_file.read()).decode("utf-8")
Source : | Last Update : Sat, 17 Jul 21