import base64
open_icon = open("./Icon/girl_128.ico","rb")
b64str = base64.b64encode(open_icon.read())
open_icon.close()
write_data = "img = '%s'" % b64str
f = open("./Icon/icon.py","w+")
f.write(write_data)
f.close()
import base64
open_icon = open("./Icon/girl_128.ico","rb")
b64str = base64.b64encode(open_icon.read())
open_icon.close()
write_data = "img = '%s'" % b64str
f = open("./Icon/icon.py","w+")
f.write(write_data)
f.close()