Posted By

PesPes on 07/19/09


Tagged

edit textmate Bash python terminal django PYTHONPATH


Versions (?)

Add a directory to your PYTHONPATH in Terminal.app using TextMate


 / Published in: Bash
 

  1. #open your .bash_profile by typing this into Terminal. You'll need to be in your home directory.
  2.  
  3. sudo mate edit .bash_profile
  4.  
  5.  
  6. # Paste something like this into your .bash_profile
  7.  
  8. export PYTHONPATH=$HOME/Sites/dev:$PYTHONPATH

Report this snippet  

You need to login to post a comment.