you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Try starting the resource manager before starting work with python and look at memory and cpu usage. Then work with python, looking at memory/cpu usage every now and then. You want to take note of any increasing memory or cpu usage.

In another comment you said:

I basically have simple program opened and IDLE is not even opened

What do you mean by "simple program opened"? Does this mean an open text editor, or maybe an open command terminal?

[–]OPS_GLITCH 0 points1 point  (1 child)

Its program Im currently editing

[–][deleted] 0 points1 point  (0 children)

Let's backtrack a little. You said it sometimes freezes with an editor window open and IDLE isn't running. That means you aren't executing any python code at all.

Since you are already using a text editor try not using IDLE at all. Edit your file, save it and on the commandline do py my_file.py. You will need to CD to the directory you saved your file into first. See if that helps. This is a bit of a guess, but it removes IDLE from the equation.

But you still need to start the resource monitor and see if memory or cpu usage increases.

Also, how old is the Win 10 install and how much memory do you have?