title: How to get current import paths in Python?
body: <p>I get an <code>ImportError</code> exception somewhere in the code, but the same module can be imported safely at startup of the application. I'm curious to see which paths Python looks for modules to import, so that I can trace why this problem occurs. I found this:</p>
  
  <p><code>print sys.path</code></p>
  
  <p>Is this the list of ALL paths that system looks when tries to import a module?</p>