title: Visual Studio Code cannot find module
body: <p>I'm trying to use Visual Studio Code to work with python code.</p>
  
  <p>But when I try to split up my python code into multiple files I get errors.</p>
  
  <p>The code</p>
  
  <p><code>sys.path.insert(0, 'lib/')
  from Start import Load_MyProg</code></p>
  
  <p>works fine in IDLE</p>
  
  <p>But VS Code flips these lines</p>
  
  <pre><code>from Start import Load_MyProg
  sys.path.insert(0, 'lib/')
  </code></pre>
  
  <p>and then throws a ModuleNotFoundError: No module named 'Start'
  error</p>
  
  <p>I can't seem to get VS to stop moving code around.
  It forces the order no matter what I try.
  I'm not even sure if this is the reason for the error.</p>
  
  <p>The same code works in IDLE with no issues.
  I will try to work with IDLE until I figure it out but I like VS Code.</p>
  
  <p>Thanks in advance.</p>