title: Using Python and Vim within the Mac Terminal
body: <p>I'm writing Python code using Vim inside Terminal (typing command "vim" to start up Vim).  I've been trying to find a way to execute the code through the mac terminal in the same window.</p>
  
  <p>I'm trying to use :!python % but I get the following error message:
  E499: Empty file name for '%' or '#', only works with ":p:h"</p>
  
  <p>Anyone have any suggestions?</p>