My teacher gave us a task: I gotta create 2 folders: folder1 folder2 And i gotta add a text file to folder1 then append asmthg on it (iknow i use f = open("//Folder1//text.txt", mode = a, encoding = "UTF-8) then f.append("Hello World!") and then i gotta copy the text file in folder1 to folder2 as text.txt(Copy) without using shutil.copyfile
So can anyone help about it?