priceList为一个列表:
priceList = ['\n\t\t\t\t\t\t\t\tCHF\xa0\r\n \r\n \t64.90', '\n\t\t\t\t\t\t\t\tCHF\xa0\r\n \r\n \t58.40', '\n\t\t\t\t\t\t\t\tCHF\xa0\r\n \r\n \t48.70']
print([' '.join([i.strip() for i in price.strip().split('\t')]) for price in priceList])
输出结果:
['CHF 64.90', 'CHF 58.40', 'CHF 48.70']