Skip to content

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Camilla Pacifici committed Oct 30, 2024
1 parent 688fe62 commit c9389b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@
"# Save and Load Objects Using Pickle\n",
"import pickle\n",
"\n",
"\n",
"def save_obj(obj, name):\n",
" \n",
" with open(name, 'wb') as f:\n",
" pickle.dump(obj, f, pickle.HIGHEST_PROTOCOL)\n",
"\n",
"\n",
"def load_obj(name):\n",
" \n",
" with open(name, 'rb') as f:\n",
" return pickle.load(f)"
]
Expand Down

0 comments on commit c9389b4

Please sign in to comment.