问题 Preamble: I feel I probably have wasted so much time for a simple situation... Now, I am making a game with pygame, and at some point, I wanted to split files into two, namely main.py and configurations.py in order to make it more readable. Everything was going good, until I ran into this problem. I will share whole code at the bottom, but I want to summarize first: Now first of all, in main.py , I am importing by, from configurations import * now, the game loop on the main.py depends on the