Accessing Python instance variables with __dict__- Is it wrong?
<p>If I want to access the list of instance variables of an object, I can call <code>myObject.__dict__.keys()</code>.  I want to use this attribute to print out all instance variables of an object.  I am hesitant to do this because <code>__dict__</code> is a "secret" attribute, and I do not understand what <a href="http://docs.python.org/tutorial/classes.html#id2" rel="nofollow">this footnote</a> means.</p>

<p>So is it wrong to use <code>myObject.__dict__</code>?</p>
