SyntaxFix
Write A Post
Hire A Developer
Questions
numpy's genfromtxt or loadtxt is what I use:
import numpy as np ... wordset = np.genfromtxt(fname='words.txt')
This got me headed in the right direction and solved my problem.