This is the first time I\'ve came across this. Just printed a list and each element seems to have a u
in front of it i.e.
[u\'hello\', u
Unicode.
it's an indication of unicode string. similar to r''
for raw string.
>>> type(u'abc')
<type 'unicode'>
>>> r'ab\c'
'ab\\c'
I believe the u' prefix creates a unicode string instead of regular ascii
The u
just means that the following string is a unicode string (as opposed to a plain ascii string). It has nothing to do with the list that happens to contain the (unicode) strings.