Python Shell (IDLE) Lag

D

dumbandjaded

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
IDLE?

Thanks in advance.
 
D

dumbandjaded

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top