Skip to content

Instantly share code, notes, and snippets.

@sandeepkumar-skb
Created February 21, 2022 22:04
Show Gist options
  • Save sandeepkumar-skb/65cec7064e7e6487adb5c99790623170 to your computer and use it in GitHub Desktop.
Save sandeepkumar-skb/65cec7064e7e6487adb5c99790623170 to your computer and use it in GitHub Desktop.
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