Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python Shell (IDLE) Lag

Thread Tools

Python Shell (IDLE) Lag
Posts: n/a
Hey everyone, just a quick general question about using the main python
shell (I'm using IDLE on Windows to be exact).

Whenever I print some really long output to the screen (> 3000
characters or so), my shell will start lagging very badly. I'm not
sure if the shell keeps some memory dedicated to this already outputted
data or what, but either way I can't seme to unlock these resources.
Restarting just the shell doesn't help, so I end up having to closing
IDLE completely and restarting it. Needless to say, this is a pain
when I've got a lot of commands in the shell already I want to repeat
because I lose them all.

Anyone know of any way to free up these resources without restarting

Thanks in advance.

Reply With Quote
Posts: n/a
Just a little addendum... this lag only happens when the output is a
very long continuous string. If I print out 3000 or so LINES of output
there's no problem, its only when it's one long continuous string.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash shell to Python shell? edwithad Python 4 09-28-2009 07:56 AM
Re: How to pass shell variable to shell script from python D'Arcy J.M. Cain Python 0 02-27-2008 01:56 PM
Re: How to pass shell variable to shell script from python Gerardo Herzig Python 1 02-27-2008 12:19 PM
Re: How to pass shell variable to shell script from python Christian Heimes Python 0 02-27-2008 10:53 AM
can I run unix shell command in the ModelSim shell? VHDL 2 02-18-2005 10:04 PM