title: I had an import error with python on VS Code
body: <p>I have an import error with python on VS Code.
  Although I had this error, I could run this code with no error.
  Maybe, VS Code can not recognize the &quot;import&quot; statement.
  I'm glad if anyone solve this problem.
  Thank you.</p>
  <p>Error on from statement :
  Unable to import 'ClassSample'</p>
  <p><a href="https://i.stack.imgur.com/YPgKJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YPgKJ.png" alt="enter image description here" /></a></p>
  <p>main.py</p>
  <pre><code>#main.py
  
  #path
  sys.path.append('sampleClass/myClass')
  
  #my class
  from ClassSample import ClassSample  #error on from statement : Unable to import 'ClassSample'
  
  </code></pre>
  <p>ClassSample.py</p>
  <pre><code>#ClassSample.py
  
  class ClassSample:
  
      #select param
      def selectParam(self, param):
          param = &quot;_&quot; + param
          return param
  
  </code></pre>