Converting list of strings with u'…' to a list of normal strings [duplicate]
问题 This question already has answers here : What's the u prefix in a Python string? (6 answers) Closed 3 years ago . I'm a newbie in python. And apologies for a very basic question. I'm working with python pattern.en library and try to get the synonyms of a word. this is my code and is working fine. from pattern.en import wordnet a=wordnet.synsets('human') print a[0].synonyms this what the output i get from this: [u'homo', u'man', u'human being', u'human'] but for my program i need to insert