title: ModuleNotFoundError & ImportError on Module Import Python 3.6
body: <p>I've scoured through and found lots of questions with lots of answers but nothing seems to be hitting the mark.</p>
  
  <p>I've set up two files <code>config.py</code> and <code>test.py</code> under one folder called test.</p>
  
  <p>config includes the code:</p>
  
  <pre><code>class Config:
      def __init__(self, name):
          self.name = name
  </code></pre>
  
  <p>while test has:</p>
  
  <pre><code>try:
      # Trying to find module in the parent package
      from . import config
      print(config.debug)
      del config
  except ImportError:
      print('Relative import failed')
  
  try:
      # Trying to find module on sys.path
      import config
      print(config.debug)
  except ModuleNotFoundError:
      print('Absolute import failed')
  </code></pre>
  
  <p>This has been put together as per the answer supplier on this <a href="https://stackoverflow.com/questions/43728431/modulenotfounderror-no-module-named-x">stack</a> answer.</p>
  
  <p>Unfortunately I'm getting both errors appearing, when I just try to directly call it <code>from config import Config</code> I get ModuleNotFoundError</p>
  
  <p>I'm truly lost on this one and can't figure out where to go from here.</p>
  
  <p>Using Python 3.6, atom.io as my IDE. </p>