I have some unicode data in the following format:
[(u"'goal','corner','rightfoot'", u'1'), (u"'goal','directfreekick','leftfoot'", u'1')
, (u"'goal','openplay','leftfoot'", u'2'), (u"'goal','openplay','rightfoot'", u'2'),
(u"'miss','corner','header'", u'5'), (u"'miss','corner','rightfoot'", u'1'),
(u"'miss','directfreekick','leftfoot'", u'1'), (u"'miss','directfreekick','rightfoot'", u'2'),
(u"'miss','openplay','header'", u'4'), (u"'miss','openplay','leftfoot'", u'14'),
(u"'miss','openplay','rightfoot'", u'16')]
This is contained within a variable that for now I will call var
. I want to convert this to a regular string using str(var)
, however this does not seem to be having any effect.
Can anyone see what I am doing wrong here?
Thanks