Logo Search packages:      
Sourcecode: uligo version File versions  Download package

def uligo::PbmRecord::saveToDisk (   self  ) 

Write list to disk. 

Definition at line 296 of file uligo.py.

00296                         :
        """ Write list to disk. """
            if not os.path.exists(self.path): os.makedirs(self.path)
            f = open(os.path.join(self.path,self.filename), 'w')
            help = self.modeVar.get()
            pickle.dump((self.noOfPbms, self.pbmsAsked, self.noRight, self.noWrong, \
                         self.current, self.handleCurrent, help, self.list),f)
        except IOError, OSError: showwarning('IO Error', 'Could not write .dat file')

    def changeModeQuit(self,w,h1,h2,e):

Generated by  Doxygen 1.6.0   Back to index