def reload(index,value,op):
global dict,key,val
dict = {}
page = monthchoosen.get()
print(f’-{page}-‘)
# import file
with open(page,”r”) as file:
for line in file :
print(line)
key,value = line.split(“,”)
dict[key]=value.strip()
Thickener thinks I’m writing Arabic, that’s why it gives an error, because I used the words (g.zh.p.j.) in my words, but I want to write Farsi.
i dont now what should i do:(
پارسا ریاضی تهرانی is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.