Popular recipes tagged "quick" but not "re"http://code.activestate.com/recipes/tags/quick-re/2014-07-31T17:33:19-07:00ActiveState Code RecipesGet all installed Windows hotfixes (Perl)
2014-07-31T17:33:19-07:00Brett Carrollhttp://code.activestate.com/recipes/users/4174322/http://code.activestate.com/recipes/578917-get-all-installed-windows-hotfixes/
<p style="color: grey">
Perl
recipe 578917
by <a href="/recipes/users/4174322/">Brett Carroll</a>
(<a href="/recipes/tags/engineering/">engineering</a>, <a href="/recipes/tags/fix/">fix</a>, <a href="/recipes/tags/hotfix/">hotfix</a>, <a href="/recipes/tags/hotfixes/">hotfixes</a>, <a href="/recipes/tags/ole/">ole</a>, <a href="/recipes/tags/perl/">perl</a>, <a href="/recipes/tags/quick/">quick</a>, <a href="/recipes/tags/win32/">win32</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/wmi/">wmi</a>).
</p>
<p>This script uses WMI (via Win32::OLE) to retrieve and print out a comma separated list of all installed Windows hotfixes.</p>
Short Enum Recipe (Python)
2013-01-31T14:16:06-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577021-short-enum-recipe/
<p style="color: grey">
Python
recipe 577021
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/enum/">enum</a>, <a href="/recipes/tags/quick/">quick</a>, <a href="/recipes/tags/short/">short</a>).
Revision 9.
</p>
<p>If you want a small code snippet for enumerations in Python and the following code is sufficient for your needs, please go ahead and use it! Running the code is as simple as this: <code>STATE = enum('GET_QUIZ, GET_VERSE, TEACH')</code></p>
<p>This recipe was edited and adapted after the author was inspired by seeing other, better enum recipes lying around.</p>