473,662 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: Cutting and Pasting in Windows IDLE



Gabriel Genellina wrote:
En Tue, 12 Aug 2008 13:04:05 -0300, Victor Subervi
<vi***********@ gmail.comescrib i�:
>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 1276

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

Similar topics

5
3694
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 newest message first. prefer perl, but php is ok.
0
1167
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 problem is that IDLE currently only uses a single socket and so hangs if you try to open a second version of the shell..... Which means so long as I rememebr to only open one shell it works fine...... So I have two file associations for IDLE...
8
1777
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 the "IDLE (Python GUI)" does nothing. The cursor changes to a hour-glass for about 1 second and then nothing happens. The "Python (command line)" works.
5
1703
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 installer. Then, I've install "PythonWin" (the last build-203). I'll try to summerize my prob.:
8
2740
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 hourglass cursor for a short time then nothing more happens. This happens whether I click the IDLE shortcut or click the pythonw.exe directly, or attempt to launch pythonw from a command line.
8
3766
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 installation issue. When the person who has the problem logs into another PC the problem follows them. Any ideas as to what might me wrong? This is the traceback from IDLE: C:\Python20\Tools\idle>..\..\python.exe idle.py Traceback (most recent call...
5
3048
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 confusing to me.
13
2930
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 cross posted there. The test case below is taken from an Imake setup (yes, old, I know). There's a Concat() macro which uses old-style /**/ for token pasting (we are not allowed to assume ANSI so ## isn't allowed). I'm trying to paste AND expand...
0
175
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
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8343
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8762
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.