Created
February 21, 2022 22:04
-
-
Save sandeepkumar-skb/65cec7064e7e6487adb5c99790623170 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pickle | |
def save_pkl(filename_, inp): | |
with open(filename_, 'wb') as f: | |
pickle.dump(inp, f) | |
def load_pkl(filename_, ): | |
with open(filename_, 'rb') as f: | |
l_file = pickle.load(f) | |
return l_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment