I've got a problem with replacing letters for a specific vector, stored in a file. The first file contains a list of "x = 0000101" like entries. The second file contains the target words in the 15th colom. I tried to use a dictionary containing the data of the first while and looping through the words in the second one, but did not succeed. Something like:
while t < 5000:
line = string.split(words)[t])
new = []
for x in line[14]:
if x in da.keys():
new.append(da[x])
Could anyone give me a suggestion about how to proceed?
Edit: Added code field vegaseat