title: Running interactive python script from emacs
body: <p>I am a fairly proficient vim user, but friends of mine told me so much good stuff about emacs that I decided to give it a try -- especially after finding about the aptly-named evil mode...</p>
  
  <p>Anyways, I am currently working on a python script that requires user input (a subclass of cmd.Cmd).  In vim, if I wanted to try it, I could simply do <code>:!python %</code> and then could interact with my script, until it quits.  In emacs, I tried <code>M-! python script.py</code>, which would indeed run the script in a separate buffer, but then RETURNs seems not to be sent back to the script, but are caught by the emacs buffer instead.  I also tried to have a look at python-mode's <code>C-c C-c</code>, but this runs the script in some temporary directory, whereas I just want to run it in <code>(pwd)</code>.</p>
  
  <p>So, is there any canonical way of doing that?</p>