-
Notifications
You must be signed in to change notification settings - Fork 1
/
4check.py
35 lines (25 loc) · 854 Bytes
/
4check.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from util import readFromTXTFileAndGenerateArray
from functions import createOutputFile
v23_array_ = readFromTXTFileAndGenerateArray('/Users/efecini-plentific/Desktop/bip-0039:turkish.txt/do_not_change/final_v23.txt')
allseed_array_ = readFromTXTFileAndGenerateArray('/Users/efecini-plentific/Desktop/bip-0039:turkish.txt/HELPER_FILES/allseed.txt')
can_be_added = []
v23_array = []
allseed_array = []
for item in v23_array_:
if len(item) > 3:
v23_array.append(item[0:4])
for item in allseed_array_:
if len(item) > 3:
allseed_array.append(item[0:4])
print('--------------------START')
for item in v23_array:
if item in allseed_array:
print(item)
print('--------------------END')
#createOutputFile('can_be_added', can_be_added)
"""
for word in kaan_v3_array:
if word not in final_array:
print(word)
#print(final_array)
"""