python去掉行尾的换行符

python去掉行尾的换行符

mystring.strip().replace(' ', '').replace(' ', '').replace(' ', '').replace(' ', '').strip()

原文地址:https://www.cnblogs.com/emanlee/p/4279262.html