title: Python ImportError Cannot Import Name
body: <p>In my working folder I have a file called <em>exceptions.py</em>, which contains only:</p>
  
  <pre><code>class ParseException(Exception):
      pass
  
  class QueryException(Exception):
      pass
  </code></pre>
  
  <p>In the same folder I have a file, lets call it <em>my_script.py</em></p>
  
  <p>In <em>my_script.py</em>, when I do <code>from exceptions import ParseException</code> I get an error:</p>
  
  <blockquote>
    <p>ImportError: cannot import name ParseException</p>
  </blockquote>
  
  <p>I cannot figure out what's going on here. I've never seen this error before, and when I looked it up I mainly see problems with circular dependencies, but I don't have any here...</p>