create utils module

This commit is contained in:
WorldTeacher
2024-01-31 15:20:40 +01:00
parent cf7f0df434
commit 69e7d7a0de
4 changed files with 21 additions and 0 deletions

6
src/utils/pickles.py Normal file
View File

@@ -0,0 +1,6 @@
import pickle
def load_pickle(data):
return pickle.loads(data)
def dump_pickle(data):
return pickle.dumps(data)