Popular recipes tagged "meta:requires=pwd"http://code.activestate.com/recipes/tags/meta:requires=pwd/popular/2006-06-29T01:22:23-07:00ActiveState Code RecipesExtending the 'logging' module (Python)
2006-02-27T00:57:54-08:00Ori Peleghttp://code.activestate.com/recipes/users/2056315/http://code.activestate.com/recipes/474089-extending-the-logging-module/
<p style="color: grey">
Python
recipe 474089
by <a href="/recipes/users/2056315/">Ori Peleg</a>
(<a href="/recipes/tags/debugging/">debugging</a>).
Revision 2.
</p>
<p>Adding new format specifiers to the logging module.
In this example, it's for the user name and the name of the function that logged the message.</p>
Last Login Record Extraction (Python)
2006-06-02T09:51:51-07:00Mike Lowehttp://code.activestate.com/recipes/users/2909790/http://code.activestate.com/recipes/496768-last-login-record-extraction/
<p style="color: grey">
Python
recipe 496768
by <a href="/recipes/users/2909790/">Mike Lowe</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>It took me a while to figure out the file format for /var/log/lastlog on *NIX type machines. Some of the sysadmins out there may find it usefull to be able to determine the last time of login for an account without using any other apps.</p>
Completer with history viewer support and more features (Python)
2006-06-29T01:22:23-07:00Sunjoong LEEhttp://code.activestate.com/recipes/users/2925478/http://code.activestate.com/recipes/496822-completer-with-history-viewer-support-and-more-fea/
<p style="color: grey">
Python
recipe 496822
by <a href="/recipes/users/2925478/">Sunjoong LEE</a>
.
Revision 10.
</p>
<p>This module let "tab" key can indent and completing valid python identifiers, keywords, and filenames.
This module support history view also.</p>
<p>Note1: original python rlcompleter module only avail in unix-like environment
Note2: if you seek a more simple completer you could try Jian Ding Chen's recipe at: <a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496812" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496812</a></p>
Generating a RSS feed from CVS commits (Python)
2004-10-16T14:27:11-07:00Ori Peleghttp://code.activestate.com/recipes/users/2056315/http://code.activestate.com/recipes/310322-generating-a-rss-feed-from-cvs-commits/
<p style="color: grey">
Python
recipe 310322
by <a href="/recipes/users/2056315/">Ori Peleg</a>
.
Revision 2.
</p>
<p>Track commits to CVS repositories as RSS feeds.</p>