import reipath= u"./data/NCDC/上海/虹桥/9705626661750dat.txt"v = re.findall(u'[\u4e00-\u9fff]+', ipath) # => []print(v)
Standard input is empty
['上海', '虹桥']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!