load_pickle
-
Description: Reads a pickle file.
-
Parameters:
- path (
Union[str, Path]
): The path to the pickle file.
- path (
-
Return Value:
- dict: The content of the pickle file.
-
Example:
import capybara as cb
path = '/path/to/your/pickle'
data = cb.load_pickle(path)
print(data)
# >>> {'key': 'value'}