latom.utils.pickle_utils

@authors: Alberto FOSSA’ Giuliana Elena MICELI

Defines the methods to save and load files using the pickle library

Functions

load(filename)

Load an object.

save(obj, filename)

Save an object.

latom.utils.pickle_utils.save(obj, filename)[source]

Save an object.

Parameters
  • obj (object) – Object to be serialized

  • filename (str) – Full path to file where the object is serialized

latom.utils.pickle_utils.load(filename)[source]

Load an object.

Parameters

filename (str) – Full path to file where the object is serialized

Returns

obj – Object to be serialized

Return type

object