PEATDB/PEATTables.py
def ekin_show_length(self, data):
        """Show only the number of data points/records, taken from DB_actions"""
        dkeys=data.keys()
        count=0
        for key in dkeys:
            if len(key)>2:
                if key[:2]!='__':
                    count=count+1
            else:
                count=count+1
        dkeys.sort()
        dkeys_txt=''
        for key in dkeys:
            dkeys_txt=dkeys_txt+'%s\n' %key

        return '%s recs' %count
Show only the number of data points/records, taken from DB_actions
Show only the number of data points/records, taken from DB_actions
Show only the number of data points / records taken from DB_actions
def ekin_show_length(self, data):
        dkeys=data.keys()
        count=0
        for key in dkeys:
            if len(key)>2:
                if key[:2]!='__':
                    count=count+1
            else:
                count=count+1
        dkeys.sort()
        dkeys_txt=''
        for key in dkeys:
            dkeys_txt=dkeys_txt+'%s\n' %key
        return '%s recs' %count
def ekin_show_length ( self , data ) : dkeys = data . keys ( ) count = 0 for key in dkeys : if len ( key ) > 2 : if key [ : 2 ] != '__' : count = count + 1 else : count = count + 1 dkeys . sort ( ) dkeys_txt = '' for key in dkeys : dkeys_txt = dkeys_txt + '%s\n' % key return '%s recs' % count
Show only the number of data points/records, taken from DB_actions
Show only the number of data points / records taken from DB_actions
"""Show only the number of data points/records, taken from DB_actions"""
self
data