0
I changed my code to writelines but still I can’t save new information in next line when I run each time .help please
f=open(“namejson.txt”,”r+”) total=json.dumps([list1,list2]) f.writelines(total) f.close()
4 Antworten
+ 7
Rozhan , can you also provide the code for creating your input (json? or just text?) file? please also put your code in playground and link it here. Thanks!
+ 1
Lother ,i don’t know how do it .