title: Python: Appending system path to import the module
body: <p>I am trying to import a module from the prgoram called 'Power factory&quot; in Python. The folder where power factory file located looks as follow:</p>
  <p><a href="https://i.stack.imgur.com/5nDa2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5nDa2.png" alt="enter image description here" /></a></p>
  <p>I have written a script to import the powerfactory module as follow:</p>
  <pre><code>import sys
  sys.path.append(&quot;PAth of folder&quot;)
  import powerfactory as pf
  </code></pre>
  <p>When I ran the above code, it throws the following error:</p>
  <pre><code>ImportError: DLL load failed while importing powerfactory: The specified module could not be found.
  </code></pre>
  <p>I copied the .dll file present in the power factory folder into the Python DLL folder but no luck. Could anyone help me where am I making the mistake?</p>