Popular recipes by Lost Protocol http://code.activestate.com/recipes/users/4176279/2010-12-24T08:28:15-08:00ActiveState Code RecipesPyDON - An alternative to XML (Python) 2010-12-24T08:28:15-08:00Lost Protocolhttp://code.activestate.com/recipes/users/4176279/http://code.activestate.com/recipes/577508-pydon-an-alternative-to-xml/ <p style="color: grey"> Python recipe 577508 by <a href="/recipes/users/4176279/">Lost Protocol</a> (<a href="/recipes/tags/configuration/">configuration</a>, <a href="/recipes/tags/json/">json</a>, <a href="/recipes/tags/xml/">xml</a>, <a href="/recipes/tags/xmlrpc/">xmlrpc</a>). Revision 2. </p> <p>Many use XML to store configuration data, some use INI files others use Windows Registries and some like JSON. But given the fact that Python is such a powerful language, its easy to create/use such representations. PyDON stands for Python Dictionary Object Notation. It LOOKS similar to JSON but doesn't require you to create any parsers. Plus it can contain Python code which is even better :-).</p> <p>More on this here &gt; <a href="http://lostp.99k.org/files/PyDON.pdf" rel="nofollow">http://lostp.99k.org/files/PyDON.pdf</a></p> tryout regex (Python) 2010-12-17T17:28:26-08:00Lost Protocolhttp://code.activestate.com/recipes/users/4176279/http://code.activestate.com/recipes/577503-tryout-regex/ <p style="color: grey"> Python recipe 577503 by <a href="/recipes/users/4176279/">Lost Protocol</a> (<a href="/recipes/tags/regex/">regex</a>). Revision 2. </p> <p>Teaches you regex in python by trying it out. </p> <pre class="prettyprint"><code>&gt;&gt;&gt; only one command called compile allows you to compile a certain string &gt;&gt;&gt; any other input is treated as pattern to match </code></pre>