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


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.