How to split a unicode string into list with Python

2 Answers

0 votes
l = list(u"ÇÊÔã")

print(l)


'''
run:

['Ç', 'Ê', 'Ô', 'ã']

'''

 



answered Jun 19, 2017 by avibootz
0 votes
l = list(u"ÇÊÔã")

for uchar in l:
    print(uchar)

'''
run:

Ç
Ê
Ô
ã

'''

 



answered Jun 19, 2017 by avibootz

Related questions

...