python去掉行尾的换行符 python去掉行尾的换行符 mystring.strip().replace(' ', '').replace(' ', '').replace(' ', '').replace(' ', '').strip()