title: How do I save .py files in IPython notebook with the .ipynb files
body: <p>How do I set my IPython Notebook so that whenever I save the <code>.ipynb</code> file it will also automatically save the file as a <code>.py</code> file (in the same directory)? </p>
  
  <p>In particular every time I make a change to a notebook I don't want to have to download the file as a <code>.py</code> file and then move the downloaded file into the directory.</p>
  
  <p>I recently moved to a Mac and was able to do this on my previous (PC) setup, but haven't been able to find how to explicitly set IPython to do this.</p>