<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Iterating over a custom object in python</title>
	<atom:link href="http://bigbadcode.com/2008/10/22/iterating-over-a-custom-object-in-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://bigbadcode.com/2008/10/22/iterating-over-a-custom-object-in-python/</link>
	<description>this blog is retired. I&#039;m leaving it up as a reference</description>
	<lastBuildDate>Tue, 12 Apr 2011 08:42:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://bigbadcode.com/2008/10/22/iterating-over-a-custom-object-in-python/#comment-5575</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 23 Jan 2011 04:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/?p=204#comment-5575</guid>
		<description>Thank you for the tutorial, this was very useful.

After implementing your solution, realized I couldn&#039;t find a way to access the declared name of an object member using your code snippet, so I modified it slightly. 

In case anyone else had the same question:

for k, v in myObj.__dict__.iteritems():
                print k, v, type(v).__name__</description>
		<content:encoded><![CDATA[<p>Thank you for the tutorial, this was very useful.</p>
<p>After implementing your solution, realized I couldn&#8217;t find a way to access the declared name of an object member using your code snippet, so I modified it slightly. </p>
<p>In case anyone else had the same question:</p>
<p>for k, v in myObj.__dict__.iteritems():<br />
                print k, v, type(v).__name__</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lefthand</title>
		<link>http://bigbadcode.com/2008/10/22/iterating-over-a-custom-object-in-python/#comment-5562</link>
		<dc:creator>lefthand</dc:creator>
		<pubDate>Tue, 13 Apr 2010 11:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://bigbadcode.com/?p=204#comment-5562</guid>
		<description>This may be 2 years later.But i really want to say thank you .The blog post really made me understand so concept i amwas battling with</description>
		<content:encoded><![CDATA[<p>This may be 2 years later.But i really want to say thank you .The blog post really made me understand so concept i amwas battling with</p>
]]></content:encoded>
	</item>
</channel>
</rss>

