pKaTool/pKa_system_file_menu.py
def save_system(self):
        """ saves parameters and experimental curves to a file """
        import tkFileDialog, os
        savedir=os.getcwd()
        filename=tkFileDialog.asksaveasfilename(defaultextension="*.pks",
                                                initialdir=savedir,
                                                filetypes=[("pKaTool system file","*.pks"),("All files","*.*")],
                                                parent=self.window)
        if filename:
            pKaTool_data=self.pack_all_data()
            fd=open(filename,'w')
            pickle.dump(pKaTool_data,fd)
            fd.close()

        return
 saves parameters and experimental curves to a file 
saves parameters and experimental curves to a file
saves parameters and experimental curves to a file
def save_system(self):
        import tkFileDialog, os
        savedir=os.getcwd()
        filename=tkFileDialog.asksaveasfilename(defaultextension="*.pks",
                                                initialdir=savedir,
                                                filetypes=[("pKaTool system file","*.pks"),("All files","*.*")],
                                                parent=self.window)
        if filename:
            pKaTool_data=self.pack_all_data()
            fd=open(filename,'w')
            pickle.dump(pKaTool_data,fd)
            fd.close()
        return
def save_system ( self ) : import tkFileDialog , os savedir = os . getcwd ( ) filename = tkFileDialog . asksaveasfilename ( defaultextension = "*.pks" , initialdir = savedir , filetypes = [ ( "pKaTool system file" , "*.pks" ) , ( "All files" , "*.*" ) ] , parent = self . window ) if filename : pKaTool_data = self . pack_all_data ( ) fd = open ( filename , 'w' ) pickle . dump ( pKaTool_data , fd ) fd . close ( ) return
saves parameters and experimental curves to a file
saves parameters and experimental curves to a file
""" saves parameters and experimental curves to a file """
self