<?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 15:58:23 +0000</lastBuildDate>
    <item>
      <title>(Python) Convert list of ints to list of strings - fnurl</title>
      <link>https://snipplr.com/view/14950/convert-list-of-ints-to-list-of-strings</link>
      <description>&lt;p&gt;Turns the list [1,2,3] to ['1','2','3']&lt;/p&gt;</description>
      <pubDate>Wed, 13 May 2009 05:46:59 UTC</pubDate>
      <guid>https://snipplr.com/view/14950/convert-list-of-ints-to-list-of-strings</guid>
    </item>
    <item>
      <title>(Python) flatten list of kind [(1,),(2,),(3,)] in python - fnurl</title>
      <link>https://snipplr.com/view/14448/flatten-list-of-kind-123-in-python</link>
      <description>&lt;p&gt;I made this ;) Python's operator class is what you need to know if you want to avoid using lambda functions or define your own helper functions in many cases.&lt;/p&gt;</description>
      <pubDate>Sun, 26 Apr 2009 15:01:06 UTC</pubDate>
      <guid>https://snipplr.com/view/14448/flatten-list-of-kind-123-in-python</guid>
    </item>
    <item>
      <title>(Python) Get output from os command in Python - fnurl</title>
      <link>https://snipplr.com/view/14438/get-output-from-os-command-in-python</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 26 Apr 2009 10:02:57 UTC</pubDate>
      <guid>https://snipplr.com/view/14438/get-output-from-os-command-in-python</guid>
    </item>
    <item>
      <title>(Python) call os command from python - fnurl</title>
      <link>https://snipplr.com/view/14436/call-os-command-from-python</link>
      <description>&lt;p&gt;The advantage of subprocess vs system is that it is more flexible (you can get the stdout, stderr, the "real" status code, better error handling, etc...). I think os.system is deprecated, too, or will be:&#13;
&#13;
http://www.python.org/doc/2.5/lib/node534.html&#13;
&#13;
For quick/dirty/one time scripts, os.system is enough, though.&lt;/p&gt;</description>
      <pubDate>Sun, 26 Apr 2009 09:51:39 UTC</pubDate>
      <guid>https://snipplr.com/view/14436/call-os-command-from-python</guid>
    </item>
    <item>
      <title>(Python) Get filename from filepath - fnurl</title>
      <link>https://snipplr.com/view/13793/get-filename-from-filepath</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:26:37 UTC</pubDate>
      <guid>https://snipplr.com/view/13793/get-filename-from-filepath</guid>
    </item>
    <item>
      <title>(Bash) Flush DNS cache in OS X 10.5.X - fnurl</title>
      <link>https://snipplr.com/view/13792/flush-dns-cache-in-os-x-105x</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:25:55 UTC</pubDate>
      <guid>https://snipplr.com/view/13792/flush-dns-cache-in-os-x-105x</guid>
    </item>
    <item>
      <title>(Bash) Change console keyboard layout in Ubuntu - fnurl</title>
      <link>https://snipplr.com/view/13791/change-console-keyboard-layout-in-ubuntu</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:25:17 UTC</pubDate>
      <guid>https://snipplr.com/view/13791/change-console-keyboard-layout-in-ubuntu</guid>
    </item>
    <item>
      <title>(Python) Check if file exists - fnurl</title>
      <link>https://snipplr.com/view/13789/check-if-file-exists</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:23:29 UTC</pubDate>
      <guid>https://snipplr.com/view/13789/check-if-file-exists</guid>
    </item>
    <item>
      <title>(Python) Create directories needed to write a file - fnurl</title>
      <link>https://snipplr.com/view/13788/create-directories-needed-to-write-a-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:22:51 UTC</pubDate>
      <guid>https://snipplr.com/view/13788/create-directories-needed-to-write-a-file</guid>
    </item>
    <item>
      <title>(Python) List files in directory tree - fnurl</title>
      <link>https://snipplr.com/view/13787/list-files-in-directory-tree</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:20:06 UTC</pubDate>
      <guid>https://snipplr.com/view/13787/list-files-in-directory-tree</guid>
    </item>
    <item>
      <title>(Python) My Python script template - fnurl</title>
      <link>https://snipplr.com/view/13786/my-python-script-template</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 12:19:18 UTC</pubDate>
      <guid>https://snipplr.com/view/13786/my-python-script-template</guid>
    </item>
  </channel>
</rss>
