I am trying to import a text with a list about 10 words.
import words.txt That doesn't work... Anyway, Can I import the file without this showing up?
Traceback (most recent call last): File "D:/python/p1.py", line 9, in <module> import words.txt ImportError: No module named 'words' Any sort of help is appreciated.
importis used to include library functions. To read files see this