This works, but I'd like to know peoples opinions.
with open ("readme.txt"," r") as file:
thanx
anwar
with open ("readme.txt"," r") as file:
fl=file.readlin es()
fl[:] = [s.replace('xxxx ', '.....') for s in fl]
with open("readme.tx t","w") as file:file.write("".j oin(fl))
thanx
anwar