memory impact and scope/lifespan of imported modules python
<p>I'm wondering about a few things concerning importing modules.<br>
I have a module that contains nothing but a list of variables, so that I can use these across 3 or 4 scripts that run either once or daily.<br>
This same module I would like to use in another script of mine, but I only need to load it once, and afterwards, I don't need the module anymore, because I would copy the variables to a list in my script(for comparison purposes).<br>
My questions:<br>
1. if I import the module in a method, is it discarded when the function ends?
2. what is the memory-impact on importing a module?</p>

<p>Good to know is that the function is one-shot.</p>

<p>Greetings</p>
