title: Add to python path mac os x
body: <p>I thought</p>
  
  <pre><code>import sys
  sys.path.append("/home/me/mydir")
  </code></pre>
  
  <p>is appending a dir to my pythonpath</p>
  
  <p>if I print sys.path my dir is in there.</p>
  
  <p>Then I open a new command and it is not there anymore.</p>
  
  <p>But somehow Python cant import modules I saved in that dir.</p>
  
  <p>What Am I doing wrong?</p>
  
  <p>I read .profile or .bash_profile will do the trick. </p>
  
  <p>Do I have to add: </p>
  
  <pre><code>PATH="/Me//Documents/mydir:$PYTHONPATH"
  export PATH
  </code></pre>
  
  <p>To make it work?</p>