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 RĂ©ponses
+ 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 .