when I import a python file (let's call it x.py) to another file (let's call it y.py) will the computer run x.py the moment I import it to y.py?
so that if a code is originally only called once in x.py, will now run twice because y.py import it? if it is true, how to avoid this to happen?