I m not able to strip ,u'value', iwriting on CSV.
This is the code
Expand|Select|Wrap|Line Numbers
- extractwr = csv.writer(myfile)
- for x in range :
- g=str(d[n].values()).strip("{}").split(",")
- repr(g).decode("unicode_escape").encode("utf-8")
- wr.writerow(g)
- n=n+1
- myfile.close()
[u'\u20ac 1.195,03', u'22', 22.0, 1.0, u'1', u'EUR', u'EUR', 1195.03, u'\u20ac 1.195,03', 1195.03]
[u'\u20ac 290,36', u'22', 22.0, 0.0, u'0', u'EUR', 290.36]
How to solve?