wenrui2015
Results
2
comments of
wenrui2015
may be you are on linux platform, but in windows platform,the default reading encoding="gbk", so add the encoding="utf8" may more convenient for windows platform user to use your tool.
with open(path_or_trie,encoding='utf8') as f: #line 53