我想把我的项目保存在一个CSV文件中。我试过了:
iNomVin= map(unicode.strip, res.select('//div[@class="pro_detail_tit"]//div[@class="pro_titre"]/h1/text()').extract())
item ["nomVin"]= str(iNomVin).lower()
但在CSV文件中给了我一个坏结果:
^{pr2}$
如何在不丢失UTF-8编码的情况下将项目转换为小写?Link to my program。在
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐