PLEON IDLE freezes

This is completely unpleasant, but I'm not sure that the following problem only occurs on my machine or with IDLE in general.

If you try to print a long list in the shell and this can happen by accident during debugging, the program will be crashed and you must restart it manually.

Even worse, if you have several editor windows open, it always generates several subprocesses, and each of them must be manually disconnected from the task manager.

Is there any way to avoid this?

I am using Python 3 by the way.

+3
source share
2 answers

It seems that tk needs to write a lot of data in the shell frame, it takes a lot of time, and when the list is long, it becomes unresponsive.

I did:

>>a = range(n)
>>print(list(a))

n = 100 n = 1000. . n 10000 .

, . n, , clear() , , , - . , , ...

2012: IDLE , IdleX.
. IdleX ​​, , , . , , ( ). , .

enter image description here

+2

Squeezer . ( ) Squeezer . "".

Squeezer IdleX, .

+2

Source: https://habr.com/ru/post/1743483/


All Articles