Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion search_key_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
Num += 1
print (line[:index] + ('\033[31;1m%s\033[0m' % mubiao) + line[ index + len(mubiao):])
print ('一共找到了\033[31;1m%s\033[0m;' % Num)
if mubiao == 'exit':
elif mubiao == 'exit':
sys.exit('欢迎使用搜索系统!')
else:
print ('搜索2个关键词')
Expand Down