safe_file_dump¶ safe_file_dump(data, filename, module)[source]¶ Safely dump data to a .pickle file Parameters: data:data to dump filename: strThe file to dump to module: pickle, dill, strThe python module to use. If a string, the module will be imported