str = "aaa\u2004bbb"str2 = str.replace("\N{THREE-PER-EM SPACE}", "*")print(str, str2)
Standard input is empty
aaa bbb aaa*bbb
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!