I practice how to print unicode in python
My question is: how can I edit the code below to translate to unicode to print the result just 2014-07-16 ?
print 'day: %s \n' %(releaseday)
My original output : day: [u'2014-07-16']
The result I want is: day:2014-07-16
I'd try print u'day: %s \n' %(unicode(releaseday)) And It didn't work
Please teach me Thank you
TakeFirst()is the recommended way to get a first value from an extracted list. If you are usingextract()to get the list, you can just useextract_first()to get the first item orNonenowadays.