Popular recipes tagged "meta:loc=284"http://code.activestate.com/recipes/tags/meta:loc=284/2013-06-21T14:47:21-07:00ActiveState Code RecipesEasy to use, easy to read, python based HTML generation (Python) 2013-06-21T14:47:21-07:00Pavloshttp://code.activestate.com/recipes/users/4185038/http://code.activestate.com/recipes/578436-easy-to-use-easy-to-read-python-based-html-generat/ <p style="color: grey"> Python recipe 578436 by <a href="/recipes/users/4185038/">Pavlos</a> (<a href="/recipes/tags/html/">html</a>, <a href="/recipes/tags/template/">template</a>, <a href="/recipes/tags/text/">text</a>). Revision 4. </p> <p>I was looking for a simple way to generate HTML directly in python that does not require learning a new template 'language' nor requires the installation of a big complex package. Closest thing I found was James Casbon's attempt(https://gist.github.com/1461441). This is my version of the same idea. </p> <p>(2013-04-21) added some simplifications and support for switching off string interpolation. Added to github:</p> <p><a href="https://github.com/pavlos-christoforou/web" rel="nofollow">https://github.com/pavlos-christoforou/web</a></p> Distributed Interactive Simulation (Tcl) 2012-06-15T00:14:10-07:00Frank Bannonhttp://code.activestate.com/recipes/users/4167503/http://code.activestate.com/recipes/576568-distributed-interactive-simulation/ <p style="color: grey"> Tcl recipe 576568 by <a href="/recipes/users/4167503/">Frank Bannon</a> (<a href="/recipes/tags/dis/">dis</a>, <a href="/recipes/tags/pdu/">pdu</a>, <a href="/recipes/tags/udp/">udp</a>). Revision 2. </p> <p>Decode Distributed Interactive Simulation (DIS) Protocol Data Units (PDUs) captured from UDP packets. PDUs decoded: Entity State, Fire, Detonation, Transmitter, Signal. Captures a packet from UDP, then decodes the data and adds it to a log.</p> threaded multipart FTP download via REST (Python) 2008-09-25T19:04:08-07:00Justin Ezequielhttp://code.activestate.com/recipes/users/2717831/http://code.activestate.com/recipes/465531-threaded-multipart-ftp-download-via-rest/ <p style="color: grey"> Python recipe 465531 by <a href="/recipes/users/2717831/">Justin Ezequiel</a> (<a href="/recipes/tags/network/">network</a>). Revision 3. </p> <p>Uses Queue module from Python 2.5. Actually still running 2.4 but just dropped in the module from a 2.5 installation.</p>