<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/popular/language/python</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 04:37:04 GMT</pubDate>
<item>
<title>(Python) Python xml-rpc call - arcturus</title>
<link>http://snipplr.com/view/1273/python-xmlrpc-call/</link>
<description><![CDATA[ <p>This snippets try to download itself from http://snipplr.com using xml-rpc</p> ]]></description>
<pubDate>Mon, 02 Oct 2006 14:26:31 GMT</pubDate>
<guid>http://snipplr.com/view/1273/python-xmlrpc-call/</guid>
</item>
<item>
<title>(Python) Python Twitter - felipec</title>
<link>http://snipplr.com/view/2585/python-twitter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 May 2007 12:50:56 GMT</pubDate>
<guid>http://snipplr.com/view/2585/python-twitter/</guid>
</item>
<item>
<title>(Python) Python - create daemon - whitetiger</title>
<link>http://snipplr.com/view/1630/python--create-daemon/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:42 GMT</pubDate>
<guid>http://snipplr.com/view/1630/python--create-daemon/</guid>
</item>
<item>
<title>(Python) Reverse String - ndegruchy</title>
<link>http://snipplr.com/view/349/reverse-string/</link>
<description><![CDATA[ <p>Almost not worth having a function for...</p> ]]></description>
<pubDate>Tue, 11 Jul 2006 16:21:40 GMT</pubDate>
<guid>http://snipplr.com/view/349/reverse-string/</guid>
</item>
<item>
<title>(Python) Python REST - felipec</title>
<link>http://snipplr.com/view/2584/python-rest/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 May 2007 12:49:56 GMT</pubDate>
<guid>http://snipplr.com/view/2584/python-rest/</guid>
</item>
<item>
<title>(Python) Python Regular Expression Cheat Sheet - qrist0ph</title>
<link>http://snipplr.com/view/6206/python-regular-expression-cheat-sheet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 13 May 2008 07:57:58 GMT</pubDate>
<guid>http://snipplr.com/view/6206/python-regular-expression-cheat-sheet/</guid>
</item>
<item>
<title>(Python) Posting to Twitter from Google AppEngine - sgraber</title>
<link>http://snipplr.com/view/5954/posting-to-twitter-from-google-appengine/</link>
<description><![CDATA[ <p>A way to post to twitter from Google AppEngine using urlfetch.</p> ]]></description>
<pubDate>Tue, 22 Apr 2008 09:48:26 GMT</pubDate>
<guid>http://snipplr.com/view/5954/posting-to-twitter-from-google-appengine/</guid>
</item>
<item>
<title>(Python) Python console application template with logging and option parsing. - pulczynski</title>
<link>http://snipplr.com/view/5519/python-console-application-template-with-logging-and-option-parsing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 21 Mar 2008 08:07:21 GMT</pubDate>
<guid>http://snipplr.com/view/5519/python-console-application-template-with-logging-and-option-parsing/</guid>
</item>
<item>
<title>(Python) Socket Server - miziomon</title>
<link>http://snipplr.com/view/1675/socket-server/</link>
<description><![CDATA[ <p>very simple socket server.</p> ]]></description>
<pubDate>Fri, 17 Nov 2006 00:44:20 GMT</pubDate>
<guid>http://snipplr.com/view/1675/socket-server/</guid>
</item>
<item>
<title>(Python) Python main() functions - V</title>
<link>http://snipplr.com/view/2050/python-main-functions/</link>
<description><![CDATA[ <p>Guido Van Rossum talks about his recipe for a useful main() function.</p> ]]></description>
<pubDate>Wed, 31 Jan 2007 18:50:07 GMT</pubDate>
<guid>http://snipplr.com/view/2050/python-main-functions/</guid>
</item>
<item>
<title>(Python) Geocoding with Google Maps - sudarkoff</title>
<link>http://snipplr.com/view/1253/geocoding-with-google-maps/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Sep 2006 14:12:22 GMT</pubDate>
<guid>http://snipplr.com/view/1253/geocoding-with-google-maps/</guid>
</item>
<item>
<title>(Python) Python CLI (Command Line) Progress Bar - gdvickery</title>
<link>http://snipplr.com/view/25735/python-cli-command-line-progress-bar/</link>
<description><![CDATA[ <p>This is a function that will show a progress bar of the given percentage. Useful when performing time consuming tasks.</p> ]]></description>
<pubDate>Wed, 30 Dec 2009 19:15:15 GMT</pubDate>
<guid>http://snipplr.com/view/25735/python-cli-command-line-progress-bar/</guid>
</item>
<item>
<title>(Python) YouTube Batch Download Script - abhiomkar</title>
<link>http://snipplr.com/view/6451/youtube-batch-download-script/</link>
<description><![CDATA[ <p>You</p> ]]></description>
<pubDate>Sun, 25 May 2008 14:02:29 GMT</pubDate>
<guid>http://snipplr.com/view/6451/youtube-batch-download-script/</guid>
</item>
<item>
<title>(Python) Python Filesystem Cheat Sheet - qrist0ph</title>
<link>http://snipplr.com/view/6202/python-filesystem-cheat-sheet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 13 May 2008 06:11:29 GMT</pubDate>
<guid>http://snipplr.com/view/6202/python-filesystem-cheat-sheet/</guid>
</item>
<item>
<title>(Python) Python - Get id3 from MP3 File - whitetiger</title>
<link>http://snipplr.com/view/1624/python--get-id3-from-mp3-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:32 GMT</pubDate>
<guid>http://snipplr.com/view/1624/python--get-id3-from-mp3-file/</guid>
</item>
<item>
<title>(Python) Better Unicode Text Wrapping Function - ndegruchy</title>
<link>http://snipplr.com/view/260/better-unicode-text-wrapping-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 06 Jul 2006 18:00:15 GMT</pubDate>
<guid>http://snipplr.com/view/260/better-unicode-text-wrapping-function/</guid>
</item>
<item>
<title>(Python) CSV reading in python - magicrebirth</title>
<link>http://snipplr.com/view/50966/csv-reading-in-python/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Mar 2011 22:23:48 GMT</pubDate>
<guid>http://snipplr.com/view/50966/csv-reading-in-python/</guid>
</item>
<item>
<title>(Python) Search for files with a specific extension and put them in a list - throb</title>
<link>http://snipplr.com/view/39417/search-for-files-with-a-specific-extension-and-put-them-in-a-list/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Aug 2010 13:21:39 GMT</pubDate>
<guid>http://snipplr.com/view/39417/search-for-files-with-a-specific-extension-and-put-them-in-a-list/</guid>
</item>
<item>
<title>(Python) Sockets on Python - vas3k</title>
<link>http://snipplr.com/view/26086/sockets-on-python/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 07 Jan 2010 12:00:48 GMT</pubDate>
<guid>http://snipplr.com/view/26086/sockets-on-python/</guid>
</item>
<item>
<title>(Python) Opening a file - magicrebirth</title>
<link>http://snipplr.com/view/25277/opening-a-file/</link>
<description><![CDATA[ <p>Python uses the simple open(path [,mode [,buffersize]]) call to open files for both reading and writing. The path is a path string pointing to the file. The mode determines what mode the file will be opened in.
The optional buffersize argument specifies which buffering mode should be used when accessing the file. 0 indicates that the file should be unbuffered, 1 indicates line-buffering, and any other positive number indicates a specific buffer size to be used when accessing the file. Buffering the file improves performance because part of the file is cached in computer memory. Omitting this argument or specifying a negative number results in the system default buffer size to be used.

File Modes for Python's Built-In File Functions

r
Opens an existing file for reading.

w
Opens a file for writing. If the file already exists, the contents are deleted. If the file does not already exist, a new one is created.

a
Opens an existing file for updating, keeping the existing contents intact.

r+
Opens a file for both reading and writing. The existing contents are kept intact.

w+
Opens a file for both writing and reading. The existing contents are deleted.

a+
Opens a file for both reading and writing. The existing contents are kept intact.

b
Is applied in addition to one of the read, write, or append modes. Opens the file in binary mode.

U
Is applied in addition to one of the read, write, or append modes. Applies the "universal" newline translator to the file as it is opened.


Note
Using the universal newline mode U is extremely useful if you need to deal with files that are created by applications that are not consistent in managing newline characters. The universal newline mode converts all the different variations (\r, \n, \r\n) to the standard \n character.</p> ]]></description>
<pubDate>Tue, 22 Dec 2009 15:45:59 GMT</pubDate>
<guid>http://snipplr.com/view/25277/opening-a-file/</guid>
</item>
<item>
<title>(Python) Word Frequency - nickleeh</title>
<link>http://snipplr.com/view/9371/word-frequency/</link>
<description><![CDATA[ <p>Let’s write a program that analyzes text documents and counts how many times each word appears in the
document.</p> ]]></description>
<pubDate>Thu, 30 Oct 2008 05:35:27 GMT</pubDate>
<guid>http://snipplr.com/view/9371/word-frequency/</guid>
</item>
<item>
<title>(Python) Google AppEngine Bulkuploader - sgraber</title>
<link>http://snipplr.com/view/5922/google-appengine-bulkuploader/</link>
<description><![CDATA[ <p>Help information on using Google's AppEngine bulk uploader utility</p> ]]></description>
<pubDate>Sun, 20 Apr 2008 14:27:31 GMT</pubDate>
<guid>http://snipplr.com/view/5922/google-appengine-bulkuploader/</guid>
</item>
<item>
<title>(Python) Recursive MD5 - Twain</title>
<link>http://snipplr.com/view/4023/recursive-md5/</link>
<description><![CDATA[ <p>Recursively calculates, checks and updates "md5sum" files.    Has renaming detection. Handy for directories of files that aren't suppose to change, but may get renamed.

Also has some code taken from my mp3md5.py to provide an option ignore ID3 tags on .mp3 files.   The blog post has some details on how Windows users can  integrate it into the Explorer context menu (http://grahamweekly.blogspot.com/2007/04/md5dir.html)</p> ]]></description>
<pubDate>Sun, 28 Oct 2007 08:51:16 GMT</pubDate>
<guid>http://snipplr.com/view/4023/recursive-md5/</guid>
</item>
<item>
<title>(Python) Compare two PIL images in Python - sudarkoff</title>
<link>http://snipplr.com/view/757/compare-two-pil-images-in-python/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Aug 2006 08:42:18 GMT</pubDate>
<guid>http://snipplr.com/view/757/compare-two-pil-images-in-python/</guid>
</item>
<item>
<title>(Python) Removes Vowels for Web2.0 Apps - ndegruchy</title>
<link>http://snipplr.com/view/257/removes-vowels-for-web20-apps/</link>
<description><![CDATA[ <p>New and improved regexp</p> ]]></description>
<pubDate>Thu, 06 Jul 2006 14:05:12 GMT</pubDate>
<guid>http://snipplr.com/view/257/removes-vowels-for-web20-apps/</guid>
</item>
</channel>
</rss>