title: Is sys.path.append() a good workaround?
body: <p>I am seeing some of my colleagues use the following workaround for importing external python modules (without installing them).</p>
  
  <pre><code>import sys
  
  sys.path.append(&lt;PATH_TO_MODULE&gt;)
  import &lt;module&gt;
  sys.path.remove(&lt;PATH_TO_MODULE&gt;)
  </code></pre>
  
  <p>I don't think this is a good approach but "it works".
  What should I suggest them to do instead of the following code and why?</p>
  
  <p>Thanks!</p>