Popular recipes by lwz7512 http://code.activestate.com/recipes/users/4185066/2013-01-29T16:25:33-08:00ActiveState Code Recipesdownload the Activestate cook book recipe (Python)
2013-01-29T16:24:22-08:00lwz7512http://code.activestate.com/recipes/users/4185066/http://code.activestate.com/recipes/578439-download-the-activestate-cook-book-recipe/
<p style="color: grey">
Python
recipe 578439
by <a href="/recipes/users/4185066/">lwz7512</a>
.
</p>
<p>Small effort to store the python recipes to our local</p>
<p>similar effort by other people:
543267-i-will-download-all-of-the-recipes-from-the-python
535162-i-download-all-the-python-cookbook-recipes</p>
Tailing a live log file with Python. (Python)
2013-01-29T16:25:33-08:00lwz7512http://code.activestate.com/recipes/users/4185066/http://code.activestate.com/recipes/578440-tailing-a-live-log-file-with-python/
<p style="color: grey">
Python
recipe 578440
by <a href="/recipes/users/4185066/">lwz7512</a>
.
</p>
<p>I've seen several tail implementations and they've seemed overly complicated, or overengineered, for my purposes.</p>
<p>Here's an implementation I'm using in my production code, it's _ONLY_ for following an open stream, line by line, and sleeps for a second while waiting for activity. No heuristics, no configurability, it's simple and --in my opinion-- clean enough to understand in a single look.</p>
<p>Enjoy!!</p>