getting it to git

This commit is contained in:
Samuel Lazareanu
2023-04-16 16:08:46 +03:00
parent 286f2c9feb
commit c5d1a56dea
24 changed files with 748 additions and 0 deletions

9
json_handler.py Normal file
View File

@@ -0,0 +1,9 @@
import json
def get_data(json_file):
with open(f'{json_file}', 'r', encoding='utf-8') as f:
jsonData = json.load(f)
verses: str = jsonData['verses']
refs: str = jsonData['references']
return verses, refs