<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 21:28:01 +0000</lastBuildDate>
    <item>
      <title>(Python) chdir context manager - ches</title>
      <link>https://snipplr.com/view/56684/chdir-context-manager</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Sat, 16 Jul 2011 18:28:17 UTC</pubDate>
      <guid>https://snipplr.com/view/56684/chdir-context-manager</guid>
    </item>
    <item>
      <title>(Python) Alternate Table Row Classes in a Mako Template - ches</title>
      <link>https://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 22 Sep 2007 17:27:08 UTC</pubDate>
      <guid>https://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template</guid>
    </item>
    <item>
      <title>(Python) Quick, Simple Password Generator - ches</title>
      <link>https://snipplr.com/view/3677/quick-simple-password-generator</link>
      <description>&lt;p&gt;Obviously there's no real crytpo here -- use this for cases like regenerating and emailing a user password.&lt;/p&gt;</description>
      <pubDate>Wed, 12 Sep 2007 10:30:59 UTC</pubDate>
      <guid>https://snipplr.com/view/3677/quick-simple-password-generator</guid>
    </item>
    <item>
      <title>(Python) FormEncode Email Address validation schema - ches</title>
      <link>https://snipplr.com/view/3479/formencode-email-address-validation-schema</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Mon, 06 Aug 2007 22:55:49 UTC</pubDate>
      <guid>https://snipplr.com/view/3479/formencode-email-address-validation-schema</guid>
    </item>
    <item>
      <title>(Python) python date suffixes for strftime - ches</title>
      <link>https://snipplr.com/view/3468/python-date-suffixes-for-strftime</link>
      <description>&lt;p&gt;like PHP's 'jS'&lt;/p&gt;</description>
      <pubDate>Sun, 05 Aug 2007 22:38:58 UTC</pubDate>
      <guid>https://snipplr.com/view/3468/python-date-suffixes-for-strftime</guid>
    </item>
  </channel>
</rss>
