title: How can I run the current line (not the whole file) in Sublime Text 2?
body: <p>In <a href="/questions/tagged/rstudio" class="post-tag" title="show questions tagged &#39;rstudio&#39;" rel="tag">rstudio</a> it is possible to run the current line instead of the whole file using <code>ctrl</code> (or <code>cmd</code>) + <code>enter</code>. This is handy when you want to test just a piece of code separated from the rest.</p>
  
  <p>I have just started using Sublime Text 2 with Python. I have figured out how to build the file directly from Sublime Text 2 with <code>cmd</code>+<code>b</code> (I had first to adjust the <code>python.sublime-build</code> file so it could get the right <code>path</code>). </p>
  
  <p>But it would be nice to run just the current line (directly from Sublime Text 2) instead of the whole file sometimes. Is it possible to do it? If not, is there another IDE where it is possible?</p>