I have used shutil to copy file content from one to another. But the already stored content in the second file is get removed. Is there any way to keep the already stored data and paste the new data at the last of the file.
Asked
Active
Viewed 13 times
0
-
1It would be helpful to understand your problem in detail, if you upload your code. – Park Jan 14 '22 at 08:28
-
1You will have to write the file contents yourself. `shutil` gives you access to operating system services, and there isn't one for this task. – Karl Knechtel Jan 14 '22 at 08:28
-
1upload ur code and explain a little more – ghost21blade Jan 14 '22 at 08:29