(data, file_path)
保存成pickle文件
    :param data:
    :param file_name:
    :param pickle_path:
    :return:
保存成pickle文件
    :param data:
    :param file_name:
    :param pickle_path:
    :return:
保存成pickle文件 : param data : : param file_name : : param pickle_path : : return :
def save_pickle(data, file_path):
    '''
    保存成pickle文件
    :param data:
    :param file_name:
    :param pickle_path:
    :return:
    '''
    if isinstance(file_path, Path):
        file_path = str(file_path)
    with open(file_path, 'wb') as f:
        pickle.dump(data, f)
def save_pickle ( data , file_path ) : if isinstance ( file_path , Path ) : file_path = str ( file_path ) with open ( file_path , 'wb' ) as f : pickle . dump ( data , f )