File size: 260 Bytes
c20a1af
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (C) 2020 * Ltd. All rights reserved.
# author : Sanghyeon Jo <josanghyeokn@gmail.com>

import pickle

def dump_pickle(path, data):
    pickle.dump(data, open(path, 'wb'))

def load_pickle(path):
    return pickle.load(open(path, 'rb'))