Skip to content

Commit 668337b

Browse files
committed
feat: saving function
1 parent adbaab2 commit 668337b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/utils/dataset.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ def get_saved_wordlist():
1111
return file.read().split(',')
1212

1313

14+
def save_progression_wordlist(save: list):
15+
with open('data/missing-wordlist.txt', 'w+') as file:
16+
file.write(','.join(save))
17+
18+
1419
def get_custom_words():
1520
with open('data/custom_words.json') as file:
1621
return json.loads(file.read())

0 commit comments

Comments
 (0)