Popular recipes by Louis RIVIERE http://code.activestate.com/recipes/users/4035877/2014-09-06T10:35:54-07:00ActiveState Code RecipesWin Shortcuts wrapper. (Python)
2010-07-23T08:10:44-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/577321-win-shortcuts-wrapper/
<p style="color: grey">
Python
recipe 577321
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/shortcuts/">shortcuts</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/wrapper/">wrapper</a>).
Revision 3.
</p>
<p>Reads or Creates Windows shortcuts (links).</p>
Win Services helper (Python)
2014-09-06T10:35:54-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/551780-win-services-helper/
<p style="color: grey">
Python
recipe 551780
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/services/">services</a>, <a href="/recipes/tags/system/">system</a>, <a href="/recipes/tags/windows/">windows</a>).
Revision 4.
</p>
<p>A simple way to implement Windows Service.</p>
Thread Pool (Python)
2008-11-30T05:42:59-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576576-thread-pool/
<p style="color: grey">
Python
recipe 576576
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/design_pattern/">design_pattern</a>, <a href="/recipes/tags/pool/">pool</a>, <a href="/recipes/tags/threads/">threads</a>, <a href="/recipes/tags/thread_pool/">thread_pool</a>).
Revision 4.
</p>
<p>Easy to use Thread Pool with a dynamically adjustable pool size.</p>
Dependency resolver (Python)
2008-12-05T00:38:47-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576570-dependency-resolver/
<p style="color: grey">
Python
recipe 576570
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>, <a href="/recipes/tags/dependency/">dependency</a>, <a href="/recipes/tags/resolver/">resolver</a>).
Revision 4.
</p>
<p>Shows the order in which "tasks" can be "done". <br />
Groups tasks that can be done simultaneously.</p>
FizzBuzz (Python)
2009-01-14T01:51:22-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576612-fizzbuzz/
<p style="color: grey">
Python
recipe 576612
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>, <a href="/recipes/tags/fizzbuzz/">fizzbuzz</a>).
Revision 4.
</p>
<p>A Loopless FizzBuzz</p>
Sieve of Eratosthenes (Python)
2008-12-27T11:45:09-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576596-sieve-of-eratosthenes/
<p style="color: grey">
Python
recipe 576596
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>, <a href="/recipes/tags/eratosthenes/">eratosthenes</a>, <a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/primes/">primes</a>).
Revision 3.
</p>
<p>Returns primes < n.</p>
High level inotify wrapper (Python)
2008-09-21T05:17:23-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576377-high-level-inotify-wrapper/
<p style="color: grey">
Python
recipe 576377
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/inotify/">inotify</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/system/">system</a>).
Revision 4.
</p>
<p>This is an exemple to show how to use the inotify module, it could be very usefull unchanged though.</p>
<p>A Watcher instance let you define callbacks for any event that occur on any file or directory and subdirectories.</p>
<p>The inotify module is from <a href="http://code.activestate.com/recipes/576375/">Recipe 576375</a></p>
Low level inotify wrapper (Python)
2013-08-12T14:39:57-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/576375-low-level-inotify-wrapper/
<p style="color: grey">
Python
recipe 576375
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/ctypes/">ctypes</a>, <a href="/recipes/tags/inotify/">inotify</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/system/">system</a>).
Revision 10.
</p>
<p>This module is meant to be as simple and straightforward as it gets.</p>
Handling ANSI Terminal. (Python)
2010-02-09T05:51:23-08:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/574451-handling-ansi-terminal/
<p style="color: grey">
Python
recipe 574451
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/ansi/">ansi</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/system/">system</a>, <a href="/recipes/tags/terminal/">terminal</a>).
Revision 9.
</p>
<p>This function can be used, with or instead of print, to get <a href="http://en.wikipedia.org/wiki/ANSI_escape_code">ANSI</a> output.</p>
MultiThread support for SQLite access. (Python)
2010-07-20T14:29:35-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/526618-multithread-support-for-sqlite-access/
<p style="color: grey">
Python
recipe 526618
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/database/">database</a>, <a href="/recipes/tags/sqlite/">sqlite</a>, <a href="/recipes/tags/threads/">threads</a>).
Revision 4.
</p>
<p>Workaround for the SQLite limitation that prevents multiple threads from sharing a Connection object.</p>
Lightweight Unittester (Python)
2010-07-20T14:28:25-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/572204-lightweight-unittester/
<p style="color: grey">
Python
recipe 572204
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/debugging/">debugging</a>).
Revision 3.
</p>
<p>This is <a href="http://code.activestate.com/recipes/572194/">recipe 572194</a> from Raymond HETTINGER with a little decorator to get timings on tested functions</p>
Win Registry module (Python)
2010-07-20T14:30:04-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/502268-win-registry-module/
<p style="color: grey">
Python
recipe 502268
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/registry/">registry</a>, <a href="/recipes/tags/system/">system</a>, <a href="/recipes/tags/windows/">windows</a>).
Revision 5.
</p>
<p>_winreg module wrapper.
Provides easy access, walking and creation/modification of keys and values.
Tested with Win98 and XP (admin)</p>
Property wrapper (Python)
2010-07-20T14:30:30-07:00Louis RIVIEREhttp://code.activestate.com/recipes/users/4035877/http://code.activestate.com/recipes/502243-property-wrapper/
<p style="color: grey">
Python
recipe 502243
by <a href="/recipes/users/4035877/">Louis RIVIERE</a>
(<a href="/recipes/tags/property/">property</a>, <a href="/recipes/tags/wrapper/">wrapper</a>).
</p>
<p>This property shortcut doesn't restrict the property's attributes to get, set, del and doc.
Besides these functions can have any name, not limited to fget, fset ...
Note that the default doc is not the getter's one.</p>