def pickledump(theobject, fname):
    """same as pickle.dump(theobject, fhandle).takes filename as parameter"""
    fhandle = open(fname, 'wb')
    pickle.dump(theobject, fhandle)
def pickledump ( theobject , fname ) : fhandle = open ( fname , 'wb' ) pickle . dump ( theobject , fhandle )
same as pickle.dump(theobject, fhandle).takes filename as parameter