<?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>Mark Stahler - Blog &#187; Python</title>
	<atom:link href="http://blog.markstahler.ca/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.markstahler.ca</link>
	<description>Coding, Gaming, CrackBerry&#039;ing and everything else white and nerdy</description>
	<lastBuildDate>Mon, 30 Aug 2010 01:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Python &#8211; Convert a Dictionary to a List</title>
		<link>http://blog.markstahler.ca/2010/02/python-convert-a-dictionary-to-a-list/</link>
		<comments>http://blog.markstahler.ca/2010/02/python-convert-a-dictionary-to-a-list/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 02:53:03 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.markstahler.ca/?p=278</guid>
		<description><![CDATA[We can easily create a Python list by pulling only the values out of a dictionary. This is done via the values() method. >>> x = {'a':1, 'b':2} >>> x {'a': 1, 'b': 2} >>> y = list(x.values()) >>> y [(1), (2)]]></description>
			<content:encoded><![CDATA[<p>We can easily create a Python list by pulling only the values out of a dictionary. This is done via the values() method.</p>
<p><code><br />
>>> x = {'a':1, 'b':2}<br />
>>> x<br />
{'a': 1, 'b': 2}<br />
>>> y = list(x.values())<br />
>>> y<br />
[(1), (2)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.markstahler.ca/2010/02/python-convert-a-dictionary-to-a-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

