<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - ches</title>
<link>http://snipplr.com/users/ches/tags/python</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 11:24:48 GMT</pubDate>
<item>
<title>(Python) chdir context manager</title>
<link>http://snipplr.com/view/56684/chdir-context-manager/</link>
<description><![CDATA[ <p>This context manager restores the value of the current working directory (cwd) after the enclosed code block completes or raises an exception.  If a directory name is supplied to the context manager then the cwd is changed prior to running the code block.</p> ]]></description>
<pubDate>Sat, 16 Jul 2011 18:28:17 GMT</pubDate>
<guid>http://snipplr.com/view/56684/chdir-context-manager/</guid>
</item>
<item>
<title>(Python) Alternate Table Row Classes in a Mako Template</title>
<link>http://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 22 Sep 2007 17:27:08 GMT</pubDate>
<guid>http://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template/</guid>
</item>
<item>
<title>(Python) Quick, Simple Password Generator</title>
<link>http://snipplr.com/view/3677/quick-simple-password-generator/</link>
<description><![CDATA[ <p>Obviously there's no real crytpo here -- use this for cases like regenerating and emailing a user password.</p> ]]></description>
<pubDate>Wed, 12 Sep 2007 10:30:59 GMT</pubDate>
<guid>http://snipplr.com/view/3677/quick-simple-password-generator/</guid>
</item>
<item>
<title>(Python) FormEncode Email Address validation schema</title>
<link>http://snipplr.com/view/3479/formencode-email-address-validation-schema/</link>
<description><![CDATA[ <p>model/form.py is a good place to put schemata in a pylons app: easy to build with inheritance and accessible to controllers via model.form.EmailForm, etc. See the link for further info on the _extra_fields options -- this one is intended for just two fields: a text field and submit button.</p> ]]></description>
<pubDate>Mon, 06 Aug 2007 22:55:49 GMT</pubDate>
<guid>http://snipplr.com/view/3479/formencode-email-address-validation-schema/</guid>
</item>
<item>
<title>(Python) python date suffixes for strftime</title>
<link>http://snipplr.com/view/3468/python-date-suffixes-for-strftime/</link>
<description><![CDATA[ <p>like PHP's 'jS'</p> ]]></description>
<pubDate>Sun, 05 Aug 2007 22:38:58 GMT</pubDate>
<guid>http://snipplr.com/view/3468/python-date-suffixes-for-strftime/</guid>
</item>
</channel>
</rss>
