list2 = [ unicode(e.strip()) for e in list1 ]
list2 = [ unicode(e.strip()) if e is not None else '' for e in list1 ]
No comments:
Post a Comment