(self, filename=None)
return
Save model to pickle file
Save model to pickle file
Save model to pickle file
def save(self, filename=None):
        """Save model to pickle file"""

        if filename == None:
            filename = filedialog.asksaveasfilename(parent=self.master,
                                                        defaultextension='.table',
                                                        initialdir=os.getcwd(),
                                                        filetypes=[("pickle","*.table"),
                                                          ("All files","*.*")])
        if filename:
            self.model.save(filename)
        return
def save ( self , filename = None ) : if filename == None : filename = filedialog . asksaveasfilename ( parent = self . master , defaultextension = '.table' , initialdir = os . getcwd ( ) , filetypes = [ ( "pickle" , "*.table" ) , ( "All files" , "*.*" ) ] ) if filename : self . model . save ( filename ) return