(self)
return
Save as a new filename
Save as a new filename
Save as a new filename
def save_as_project(self):
        """Save as a new filename"""

        filename=filedialog.asksaveasfilename(parent=self.tablesapp_win,
                                                defaultextension='.tblprj',
                                                initialdir=self.defaultsavedir,
                                                filetypes=[("TableApp project","*.tblprj"),
                                                           ("All files","*.*")])
        if not filename:
            print ('Returning')
            return
        self.filename=filename
        self.do_save_project(self.filename)
        return
def save_as_project ( self ) : filename = filedialog . asksaveasfilename ( parent = self . tablesapp_win , defaultextension = '.tblprj' , initialdir = self . defaultsavedir , filetypes = [ ( "TableApp project" , "*.tblprj" ) , ( "All files" , "*.*" ) ] ) if not filename : print ( 'Returning' ) return self . filename = filename self . do_save_project ( self . filename ) return