473,394 Members | 1,751 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Re: Cutting and Pasting in Windows IDLE



Gabriel Genellina wrote:
En Tue, 12 Aug 2008 13:04:05 -0300, Victor Subervi
<vi***********@gmail.comescribi�:
>A couple of weeks ago I asked how to cut and paste multiple lines in the
Windows IDLE interface. I can only paste one line at a time!
Frustrating.
You can paste a multi-line statement and it gets executed.
You can paste in more, and the first may be executed, but anything after
is ignored.
>I want it to work like my Linux interpreter.
I presume you are talking about the Python interpreter in interactive
mode, not IDLE on Linux. The interactive interpreter in Windows also
accepts multiple statements.
Why doesn´t it?
There may be some difference between how TK receives pasted text and how
console windows do. The problem seems to be that TK or IDLE does not
recognize pasted \n as being the same as literally typed \n, as far as
indicating 'execute this statement'.
Please help.
Open an edit window, paste there, and hit F5. For multiple lines, this
is better as you will be able to correct error and make changes. To
make this easy, put a temp.py file in your python director or a subdir
thereof. If you use it regularly, File/RecentFiles should show it near
the top, making it easy to open.
Instead of complaining here, report a bug at http://bugs.python.org/
http://bugs.python.org/issue3559

tjr

Aug 15 '08 #1
0 1257

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Liberal | last post by:
I am looking for the simplest forum, bbs script which has those features? new messages will be displayed only after the administrator reviewed allow users post without signing up display the...
0
by: Fuzzyman | last post by:
At least I've been advised by the 'officials' (in response to my bug report at sourceforge) to only start IDLE with the '-n' argument because sub-processes 'don't work' on windows. In fact the...
8
by: Kent Tong | last post by:
Hi all, I've installed Python 2.3 using the Windows installer downloaded from www.python.org. I'm using Win98. The installation process went well without any problem. However, double-clicking...
5
by: StepH | last post by:
Hi, I'm new to Python. I'm working under XP, and I've alot of prob. (not with the langage itself, but with the tools): I've install Pyhton 2.4 in C:\Python24, using the .msi windows...
8
by: DavidHolt | last post by:
I have a problem that I see on two different machines, one running XP SP1 and one XP SP 2. On both I installed Python 2.4. I can't seem to start IDLE. When I try to start it, I get an...
8
by: Jonathan Polley | last post by:
I have one account on a WindowsXP machine that refuses to run IDLE (or any other python script that uses Tk). Other people can login to that PC and IDLE runs just fine, so it is not an...
5
by: chuck | last post by:
The browser windows do. Why not the editor windows? I hate to complain but is there any way to get IDLE to run in more of an MDI mode? Having the floating windows everywhere is rather...
13
by: Henry Townsend | last post by:
I hope this is on-topic in c.l.c - it's about the C preprocessor more than the language per se, more generally about the K&R behavior, and most specifically about the Sun cpp which is why I've...
0
by: Gabriel Genellina | last post by:
En Tue, 12 Aug 2008 13:04:05 -0300, Victor Subervi <victorsubervi@gmail.comescribi�: Instead of complaining here, report a bug at http://bugs.python.org/ -- Gabriel Genellina
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.