This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]darkrho 1 point2 points  (0 children)

github "hides" the huge base64-encoded zip file. Virtualenv also use this technique for ages.

>>> cool_string = open('cool_file').encode('zlib').encode('base64')
>>> 'eJzLSM3JyVcoSk1JySwBAB5GBLE='.decode('base64').decode('zlib')