from urllib import parses = parse.quote(parse.quote('老纪吹嘘自己最有钱,杜小月不信,老纪一出门和珅就舍财!'))s1 = parse.quote('老纪吹嘘自己最有钱,杜小月不信,老纪一出门和珅就舍财!')print(s)print(s1)print(parse.unquote(parse.unquote(s)))