title: How to restore python on OS X Yosemite after I've deleted something?
body: <p>I think I previously installed python through homebrew. It was not a good idea but I did:</p>
  
  <pre><code>$ which python
  /Library/Frameworks/Python.framework/Versions/2.7/bin/python
  $ sudo rm -R /Library/Frameworks/Python.framework/Versions/2.7/bin/python
  </code></pre>
  
  <p>.. and then the terminal told me...</p>
  
  <pre><code>$ which python
  /usr/local/bin/python
  </code></pre>
  
  <p>But when I run python again</p>
  
  <pre><code>$ python
  -bash: /Library/Frameworks/Python.framework/Versions/2.7/bin/python: No such file or directory
  </code></pre>
  
  <p>So I did this:</p>
  
  <pre><code>export PATH=/usr/local/bin:/usr/local/sbin:$PATH
  </code></pre>
  
  <p>Now python does run on my terminal but I was wondering if it would be better to put something back where I deleted it, and how I could "restore" however python was before I messed with it? </p>
  
  <p>Thanks!</p>