2016-12-16 00:29:59 -06:00

10 lines
310 B
Python

"""Outputter based on Python's pickle module.
The output of this outputter can be read with the pickle scraper."""
import pickle
def output(data, destination):
"""Output the given object into the specified pickle file."""
with open(destination, "wb") as out_file:
pickle.dump(data, out_file)