[Tutor] 2 Very basic queries

Jim Byrnes jf_byrnes at comcast.net
Wed Mar 26 14:37:43 CET 2014


On 03/26/2014 07:13 AM, spir wrote:
> 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.

Actually this is what I do also if the example I am looking at is more 
than a line or two.  When I am done with one example I just comment it 
out and move on to the next one.

regards,  Jim




More information about the Tutor mailing list