title: permanently remove directory from python path
body: <p>I recently added some things to my python path that I don't want there using:</p>
  
  <pre><code>export PYTHONPATH=$PYTHONPATH:/my/path
  </code></pre>
  
  <p>You can use <code>sys.path.remove</code> to remove something in the path, <strong>but it's not 100% permanent</strong> like the way I added it with the command line statement above.</p>
  
  <p>what can I do to <strong>permanently remove</strong> directories from the python path?</p>