if __name__ == '__main__':
    filename = input('Filename> ')
param_1 = float(input('Parameter 1: '))
param_2 = float(input('Parameter 2: '))
X = parse_numpy_array(filename)
arglist = [[X, param1, param2, n] for n in linspace(0.0, 1.0, 100)]
results = Pool.map(do_work2, arglist)
save('Results', [X, results])
Sharing numpy arrays in python multiprocessing pool