Can I access a function internal dictionary externally in python
<p>Say I have the following script:</p>

<p>file.py:</p>

<pre><code>class A():
  def a(self):
    var={'a':1,'b':2...}
</code></pre>

<p>Can I access <code>var</code> externally (something like: <code>import file; file.A.a.var['a']</code>)?</p>

<p>Thanks!</p>
