title: python - iterate over various imports
body: <p>If I do something like</p>
  
  <pre><code>import my_import
  from my_import import *
  </code></pre>
  
  <p>I can change variables in the import by doing something like</p>
  
  <pre><code>my_import.k = 6
  </code></pre>
  
  <p>If I wanted to change the value of k for every single import I used, is there a way for me to iterate over all imports and set the value of k in each?</p>
  
  <p>Essentially I'm looking for something like</p>
  
  <pre><code>for each x in [list of imports]
      x.k = 6
  </code></pre>