I tried to reach .txt file with path. Then I read every lines of files. And I imported that line to a empty array. But I can't see array's elements.
import random
from itertools import product
list=['']
sayac=0
with open('D:\wordlist\Yeni klasör\kelime.txt') as dosya:
for line in dosya.readline():
list.insert(sayac,"")
sayac+=1
for n in list:
print(list)