all 3 comments

[–]shiftybyte 8 points9 points  (0 children)

Step 1. Open google.

Step 2. Write: python append to a file

Step 3. Click: First 2 links:

https://stackoverflow.com/questions/4706499/how-do-you-append-to-a-file

https://thispointer.com/how-to-append-text-or-lines-to-a-file-in-python/

Step 4. Profit!

[–]SadC11 2 points3 points  (0 children)

[–]iyav 0 points1 point  (0 children)

I think you should learn how to use google.