Skip to content

Commit 07bc4d2

Browse files
committed
add gendiff.data.py
1 parent d17f615 commit 07bc4d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gendiff/data.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import json
2+
import os
3+
4+
def read_data(path_file):
5+
with open(path_file, 'r') as file:
6+
strings = json.load(file)
7+
return strings

0 commit comments

Comments
 (0)