I want to use numpy's loadtxt command, so I tried this:
lines = loadtxt("D:/My Desktop/Enwate syllables.txt", comments="#", delimiter=",", unpack=False)
but that fails hard with "could not convert string to float: b'\xef\xbb\xbfen'"
I did try
f = open("D:/My Desktop/Enwate syllables.txt")
and that works fine. What am I doing wrong with loadtxt?
PS. It's not an encoding issue since as shown above the "open" command works on it perfectly well, I get the text lines and everything. And by the way, the file is a simple ascii text file with one word on each line.