title: How to use a python package - shouldn't i be able to access anything listed in __all__?
body: <p>I'm trying to use the pyupnp package (http://code.google.com/p/pyupnp/)</p>
  
  <p>I've built and installed it and in my code I have:</p>
  
  <pre><code>import pyupnp
  b = pyupnp.UpnpBase()
  ...
  </code></pre>
  
  <p>But I get this error: AttributeError: 'module' object has no attribute 'UpnpBase'</p>
  
  <p>Now I had a look in the code for the package, and it has the following:</p>
  
  <pre><code>__all__ = [
    'UpnpNamespace',
    'UpnpDevice',
    'UpnpBase',
    ...
  </code></pre>
  
  <p>I thought that I would be able to access anything in the <code>__all__</code> list? What am I doing wrong?</p>
  
  <p>Thanks so much</p>