simple python chracter replacer