how to explore a very big variable in python?
<p>I have a problem, I have a python script which loads a very very big variable, lets call it <code>foo</code>. Now I want to explore the structure of foo so I write the following code:</p>

<pre><code>print foo
</code></pre>

<p>but the problem is, when I execute this, my IDLE gets blocked and I see any output. I think its because <code>foo</code> is to big. Is there any function or s.th. equal to explore a variable?</p>
