DTLS
0
Q:

make image to string to use in tkinter

import base64

with open("path/to/image.png", "rb") as image_file:
    image_data_base64_encoded_string = base64.b64encode(image_file.read()) 
0

New to Communities?

Join the community