Oct-15-2023, 03:16 PM
I thought it was IDE related also, but now that I read it again, it sounds like running the "file" makes a button appear, and pressing the button makes the other "file" appear in a new window. That does not sound like anything in PyCharm. I think the OP has written a program that is unintentionally using recursion. But that is just a wild guess without seeing any code.