pickle_handler
PickleHandler
read(filepath)
staticmethod
Read data from pickle file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filepath |
str
|
Input file. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Any |
Any
|
Python data objects. |
write(filepath, data)
staticmethod
Write data objects to pickle file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data |
Any
|
Data to be written to file. Any type serializable by pickle. |
required |
filepath |
str
|
Output file. |
required |