import os, base64
icon = open('ya.png','rb')
iconData = icon.read()
iconData = base64.b64encode(iconData)
LIMIT = 60
liIcon = []
while True:
sLimit = iconData[:LIMIT]
iconData = iconData[LIMIT:]
liIcon.append('\'%s\'' %sLimit)
if len(sLimit) break
print os.linesep.join(liIcon)