Hi,
I am trying to read a ~5000 points data from the file and printing to console window.When I am doing that ,the IDLE window became white and it will not respond for some time.When I move the window ,it will show the data.
How to slove this problem ?
Thanks in advance
PSB
6 1694
Hi,
I am trying to read a ~5000 points data from the file and printing to console window.When I am doing that ,the IDLE window became white and it will not respond for some time.When I move the window ,it will show the data.
How to slove this problem ?
Thanks in advance
PSB
while i am not sure what really is the problem, you can save your code and run it through the command line and using "more" to pause the screen so you can look at the output.
Hi,
I am trying to read a ~5000 points data from the file and printing to console window.When I am doing that ,the IDLE window became white and it will not respond for some time.When I move the window ,it will show the data.
How to slove this problem ?
Thanks in advance
PSB
IDLE operates in two different modes: with and without Subprocess. I've never seen this working WITH Subprocess (Start->Python 2.x->IDLE (Python GUI)).
Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
************************************************** **************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
************************************************** **************
IDLE 1.1.4 ==== No Subprocess ====
>>>
If you are using this, try WITHOUT subprocess (Right Click the .py file and choose Edit with IDLE. Let us know what happens.
Hi,
I am trying to read a ~5000 points data from the file and printing to console window.When I am doing that ,the IDLE window became white and it will not respond for some time.When I move the window ,it will show the data.
How to slove this problem ?
Thanks in advance
PSB
If you are running another Tk GUI you will almost always have troubles.
If you are running another Tk GUI you will almost always have troubles.
The best way around this (if you must Run Module (F5) from IDLE) is to create your own output window. stdout can be set to any subclass of Frame containing a write() funtion. write(self, textStr) simply calls self.text.insert(textStr), where self.text is a Tk Text object. Instead of resetting stdout you may redirect the output of print: - print >> myOutputWindow, "some text"
or - myOutputWindow.write("some text")
Hi,
I am trying to read a ~5000 points data from the file and printing to console window.When I am doing that ,the IDLE window became white and it will not respond for some time.When I move the window ,it will show the data.
How to slove this problem ?
Thanks in advance
PSB
AFAIK this will happen in any Tk Text widget, so the suggestion to use a separate frame for text won't help.
I would recommend installing the Squeezer extension for IDLE, which solves such issues very elegantly.
- Tal
AFAIK this will happen in any Tk Text widget, so the suggestion to use a separate frame for text won't help.
I would recommend installing the Squeezer extension for IDLE, which solves such issues very elegantly.
- Tal
Great link, taleinat! I hope you stick around!
Welcome to the Python Help Forum on TheScripts.com,
Barton
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Vin Jovanovic |
last post by:
Trying to start Python IDLE through Start>Programs>Python 2.3> IDLE doesn't
work
From DOS ... I get this ....
C:\>python C:\Python23\Lib\idlelib\idle.py
Traceback (most recent call last):...
|
by: Aubrey Hutchison |
last post by:
Using Python 2,3,2 with idle for developing programs
about 200 lines long. - Problem is not common to any specific program.
Program are rather simple with no trick programming. Usually no classes...
|
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...
|
by: Jon Pastore |
last post by:
I have a strange error.
when I do a ps aux I get:
postgres 15018 0.0 0.6 9192 7396 ? S 09:20 0:00 /usr/bin/perl
/www/nexum/cgi-bin/accounting/posting/automatic_posting
postgres...
|
by: CSN |
last post by:
'ps axu' shows:
postgres 1249 0.0 0.7 20200 7296 ? S
11:50 0:00 postgres: user1 database1 127.0.0.1 idle
postgres 1251 0.0 0.6 20196 7036 ? S
11:50 0:00 postgres: user1...
|
by: Kurt B. Kaiser |
last post by:
Patch / Bug Summary
___________________
Patches : 416 open (-14) / 3463 closed (+16) / 3879 total ( +2)
Bugs : 930 open ( +8) / 6333 closed (+17) / 7263 total (+25)
RFE : 244 open...
|
by: renguy |
last post by:
I am interested in making some changes and additions to the Python
environment (Python and IDLE). I have the source code and can build the
source, but what I want to know is what are the "main"...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |