fork(1) download
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. import re
  4. ipath= u"./data/NCDC/上海/虹桥/9705626661750dat.txt"
  5. print(re.findall(u'[\u4e00-\u9fff]+', ipath)) # => []
Success #stdin #stdout 0.01s 9120KB
stdin
Standard input is empty
stdout
[u'\u4e0a\u6d77', u'\u8679\u6865']