python to change a file code example
Example 1: python rename file
import os
os.rename('guru99.txt','career.guru99.txt')
Example 2: edit a txt file using java
FileWriter fw = new FileWriter ("file.txt", true);
PrintWriter pw = new PrintWriter (fw);
/*
filewriter creates the file that printwriter can edit.
*/