title: Import list variable from separate files in python
body: <p><strong>script.py</strong></p>
  
  <pre><code>list = ['one',
          'two',
          'three']
  # python script here
  </code></pre>
  
  <p>My list is getting really long (about 400 lines)... Is there a way to have the variable <code>list</code> in a separate py file and import it?</p>
  
  <p>Or should I have separate file and create a list by iterating over it?</p>
  
  <p><strong>list.txt</strong></p>
  
  <pre><code>one
  two
  three
  </code></pre>
  
  <p>How can I achieve this?</p>