Example #1
0
 def codefile_rep_chinese(self, path):
     file = CodeFile(path)
     chinese = file.list_chinese()
     file.replace_tag()
     # for s in chinese:
     #     print(s)
     return chinese
Example #2
0
 def codefile_list_chinese(self, path):
     file = CodeFile(path)
     ret = file.list_chinese()
     return ret