To remove control characters such as \n \t \r characters, a first approach will be to use a regex: >>> import re >>> s = "Salut \n Comment ca va ?
確定! 回上一頁