Latest recipes tagged "meta:requires=base62" and "archive"http://code.activestate.com/recipes/tags/meta:requires=base62+archive/new/2011-07-11T21:51:52-07:00ActiveState Code RecipesSEA Example (Python)
2011-07-11T21:51:52-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577785-sea-example/
<p style="color: grey">
Python
recipe 577785
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>).
</p>
<p>This is an example of the output from <a href="http://code.activestate.com/recipes/577485/">recipe 577485</a> after being formatted for 80 character line width. The file that it generated by the self extracting archiver is a simple PNG image that is only slightly larger than its raw version. By combining adaptive compression with base 64 encoding, the SEA can effectively turn a file into a Python program capable of recreating the original source. Please note that the last instruction in the generated program can only be run on Windows, and any suggestions on using a cross platform alternative would be greatly appreciated.</p>