Latest recipes tagged "base64"http://code.activestate.com/recipes/tags/base64/new/2013-04-26T09:37:21-07:00ActiveState Code RecipesBase64 encode-decode Five Liner (Python) 2013-04-26T09:37:21-07:00ccpizzahttp://code.activestate.com/recipes/users/4170754/http://code.activestate.com/recipes/577626-base64-encode-decode-five-liner/ <p style="color: grey"> Python recipe 577626 by <a href="/recipes/users/4170754/">ccpizza</a> (<a href="/recipes/tags/base64/">base64</a>). Revision 2. </p> <p>Encodes or decodes base64-encoded files. If the input or output file(s) are ommited standard input/output will be used.</p> <p>The encoding direction is detected from the file name: for decoding save the script e.g. as encode64.py. For decoding create a symlink with <code>decode</code> in the name.</p>