I want to join a unicode python list, for example:
a = [u'00', u'0c', u'29', u'58', u'86', u'16']
I want a string that looks like this:
'00:0c:29:58:86:16'
How would I join this?
>>> a = [u'00', u'0c', u'29', u'58', u'86', u'16']
>>> u":".join(a)
u'00:0c:29:58:86:16'
>>> str(u":".join(a))
'00:0c:29:58:86:16'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With