I'm just starting out learning python with GEdit plus various plugins as my IDE.
Visual Studio/F# has a feature  which permits the highlighting on a piece of text in the code window which then, on a keypress, gets executed in the F# console. 
Is there a similar facility/plugin which would enable this sort of behaviour for GEdit/Python? I do have various execution type plugins (Run In Python,Better Python Console) but they don't give me this particular behaviour - or at least I'm not sure how to configure them to give me this. I find it useful because in learning python, I have some test code I want to execute particular individual lines or small segments of code (rather then a complete file) to try and understand what they are doing (and the copy/paste can get a bit tiresome)
... or perhaps there is a better way to do code exploration?
Many thx
Simon
What I do is keep a file called python_temp.py.  I have a shortcut to it in my dock.  I use it as a scratch pad.  Whenever I want to quickly run some code, I copy the code, click the shortcut in the doc, paste in the text and hit f5 to run.  Quick, easy, simple, flexible.
GEdit/Python execution plugin?