Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

pickle.py 235 B

12345678910111213
  1. import pickle
  2. def dump_to_pickle(filename, obj):
  3. with open(filename, 'wb') as fh:
  4. pickle.dump(file=fh, obj=obj)
  5. def load_from_pickle(filename):
  6. with open(filename, 'rb') as fh:
  7. return pickle.load(file=fh)