(self, name=None)
return self
load from file
load from file
load from file
def load(self, name=None):
        """load from file"""
        import pickle
        name = name if name else self.name
        s = pickle.load(open(name + '.pkl', 'rb'))
        self.res = s.res  # disregard the class
        return self
def load ( self , name = None ) : import pickle name = name if name else self . name s = pickle . load ( open ( name + '.pkl' , 'rb' ) ) self . res = s . res # disregard the class return self