def savePickle(var, fileName, protocol=0):
    f = open(fileName, 'wb')
    pickle.dump(var, f, protocol=protocol)
    f.close()

#
# for CSV
#
Context manager, disabled colors on Windows.
dataset/ETHPy150Open dssg/ushine-learning/dssg/util.py/savePickle--crossover with--dataset/ETHPy150Open Robpol86/colorclass/colorclass/windows.py/Windows.__exit__