<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pieceofpy.com &#187; snippet</title>
	<atom:link href="http://pieceofpy.com/tag/snippet/feed/" rel="self" type="application/rss+xml" />
	<link>http://pieceofpy.com</link>
	<description>Another python blog with a love for agile methods.</description>
	<lastBuildDate>Tue, 18 May 2010 15:31:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Voting and the land of ice and snow.</title>
		<link>http://pieceofpy.com/2008/11/04/voting-and-the-land-of-ice-and-snow/</link>
		<comments>http://pieceofpy.com/2008/11/04/voting-and-the-land-of-ice-and-snow/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 20:20:13 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[cold]]></category>
		<category><![CDATA[election]]></category>
		<category><![CDATA[iceland]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://pieceofpy.com/?p=206</guid>
		<description><![CDATA[Today is election day in the states. Lots of free coffee and donut offers floating around for those few people wearing their I voted sticker.
Tomorrow I head out for my trip to Iceland. From Florida to Iceland in the Fall, makes perfect sense right? It was an excuse for me to purchase some new warm [...]]]></description>
			<content:encoded><![CDATA[<p>Today is election day in the states. Lots of free coffee and donut offers floating around for those few people wearing their I voted sticker.</p>
<p>Tomorrow I head out for my trip to Iceland. From Florida to Iceland in the Fall, makes perfect sense right? It was an excuse for me to purchase some new warm wear and jogging shoes, have to keep up with the exercise routine even on vacation. I should be able to maintain the blog from there keeping the spirit of blog every day in November.</p>
<p><strong>Snippet of Python</strong><br />
In an effort to always have something a little Python related in all my posts, here is how to use list comprehension to filter out no value items from a list.</p>
<pre class="brush: python">
foo = [&quot;A&quot;, &quot;&quot;, &quot;C&quot;, None, &quot;E&quot;]
bar = [i for i in foo if i]
print bar
[&#039;A&#039;, &#039;C&#039;, &#039;E&#039;]
</pre>
]]></content:encoded>
			<wfw:commentRss>http://pieceofpy.com/2008/11/04/voting-and-the-land-of-ice-and-snow/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
