We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae38c19 commit abe9719Copy full SHA for abe9719
Drake-Z/0003/0003.py
@@ -24,5 +24,5 @@ def search_redis():
24
25
if __name__ == '__main__':
26
filename = 'active_code.txt'
27
- write_to_mysql(filename)
28
- search_mysql()
+ write_to_redis(filename)
+ search_redis()
Drake-Z/0004/0004.py
@@ -7,12 +7,12 @@
7
8
import re
9
10
-def tongji(file_path):
+def statistics(file_path):
11
f = open(file_path, 'r').read()
12
f = re.split(r'[\s\,\;,\n]+', f)
13
print(len(f))
14
return 0
15
16
17
file_path = 'English.txt'
18
- tongji(file_path)
+ statistics(file_path)
0 commit comments