I have a script which just test that import xxx change change globals.
import xxx
import time print(globals())