spacepy.toolbox.loadpickle¶
-
spacepy.toolbox.
loadpickle
(fln)[source]¶ load a pickle and return content as dictionary
Parameters: fln : string
filename
Returns: out : dict
dictionary with content from file
See also
Examples
- note: If fln is not found, but the same filename with ‘.gz’
- is found, will attempt to open the .gz as a gzipped file.
>>> d = loadpickle('test.pbin')