[python] What does "\r" do in the following script?