title: Is there something like RStudio for Python?
body: <p>In RStudio, you can run parts of code in the code editing window, and the results appear in the console.</p>
  
  <p>You can also do cool stuff like selecting whether you want everything up to the cursor to run, or everything after the cursor, or just the part that you selected, and so on. And there are hot keys for all that stuff. </p>
  
  <p>It's like a step above the interactive shell in Python -- there you can use readline to go back to previous individual lines, but it doesn't have any "concept" of what a function is, a section of code, etc. </p>
  
  <p>Is there a tool like that for Python? Or, do you have some sort of similar workaround that you use, say, in vim? </p>