replacing characters in a file,"newcontents = contents.replace('a', 'e').replace('s', '3')"