title: importing external ".txt" file in python
body: <p>I am trying to import a text with a list about 10 words.</p>
  
  <pre><code>import words.txt
  </code></pre>
  
  <p>That doesn't work... 
  Anyway, Can I import the file without this showing up?</p>
  
  <pre><code>Traceback (most recent call last):
  File "D:/python/p1.py", line 9, in &lt;module&gt;
  import words.txt
  ImportError: No module named 'words'
  </code></pre>
  
  <p>Any sort of help is appreciated. </p>