Answer the question
In order to leave comments, you need to log in
What type of file should be used so that three scripts read and append the file at the same time?
with open("filename", "r+") as f:
text = f.read()
f.write("stuff to append")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question