[Tutor] 2 Very basic queries

spir denis.spir at gmail.com
Wed Mar 26 13:13:17 CET 2014


On 03/26/2014 02:32 AM, Jim Byrnes wrote:
>> 2. Another problem is that the Python shell is allowing me to copy/paste
>> any code at all.  Is there something I am not doing right?
>
> I was able to copy from idle using Ctrl-C and paste to my newreader using Ctrl-V
> and then copy from my newsreader back to idle using the same procedure.  I am
> using Linux and you seem to be using Windows may be it works differently so I
> can't help you with it.

If Ctrl-C & Ctrl-V don't work, try shift-Ctrl-C & shift-Ctrl-V, or using the 
contextual menu with right-click. Anyway, in my view an interactive interpreter 
is annoying for anything but using python as a pocket calculator. If you feel 
like me, you may instead having a python trial file always open (as a tab) in 
your favorite editor, and do most all your trials there (instead of through the 
interpretor). This allow all doing editing, modifications, variants... you like. 
Much better in my view.

d


More information about the Tutor mailing list