PyCharm

Run selected code:

search for Execute Selection in Python Console, to find and/or change your keyboard combination.