Skip to content

Commit

Permalink
增加字典
Browse files Browse the repository at this point in the history
  • Loading branch information
Degree-21 committed Apr 24, 2020
1 parent 0c41af6 commit 844e879
Show file tree
Hide file tree
Showing 15 changed files with 1,456,667 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DirScan.py
Expand Up @@ -31,7 +31,8 @@ def get_all_file(self, file_path):
# 把所有key放入到队列里面
def get_all_scan_key(self):
for key in self.file_list:
fd = open(key, "r", encoding='utf-8')
fd = open(key, "r",)
print(key)
while 1:
buffer = fd.read(1024)
if not buffer:
Expand Down

0 comments on commit 844e879

Please sign in to comment.