PyCharm 1.2 Release Candidate; Execute selection in console

Posted on by Dmitry Jemerov

As Django 1.3 is almost ready for release, so is PyCharm 1.2. The Release Candidate build, in addition to a bunch of improvements for Django support and general bugfixes, includes a new feature: an action in the context menu to execute the selected code fragment in a Python console. It uses a running console if one exists, or starts a new one if one is not running.

As usual, the PyCharm 1.2 Release Candidate download and the Release Notes are available on the PyCharm EAP page.

Comments below can no longer be edited.

4 Responses to PyCharm 1.2 Release Candidate; Execute selection in console

  1. Matt says:

    March 6, 2011

    Diificult to see the value of execute seleection. Just looking at my code there is nothing I could just highlight and run, and thats not to say my code isnt modular or covered by unit tests. Selections are likely going to depend on various input variables, unless your selection starts with something like

    a = 1 * 5
    b = a * 3

  2. Robert says:

    March 11, 2011

    Think about someone learning Python using PyCharm. That is a huge bonus.

  3. Kevin says:

    March 12, 2011

    Nice for working out all of those StackOverflow answers too.

  4. traff says:

    March 14, 2011

    Hi Matt, btw it is possible to execute selection in debug command line console during debug session. For example at the point, where your input variables are known.

Subscribe

Subscribe for updates