lib/functions.py
def read(self):
        "Reads saved password from shelve db"
        db = shelve.open(self.dbName)
        if 'currentPwd' in db:
            self.pwd = db['currentPwd']
        else:
            self.pwd=''
        db.close()
        return self.pwd
Reads saved password from shelve db
Reads saved password from shelve db
Reads saved password from shelve db
def read(self):
        db = shelve.open(self.dbName)
        if 'currentPwd' in db:
            self.pwd = db['currentPwd']
        else:
            self.pwd=''
        db.close()
        return self.pwd
def read ( self ) : db = shelve . open ( self . dbName ) if 'currentPwd' in db : self . pwd = db [ 'currentPwd' ] else : self . pwd = '' db . close ( ) return self . pwd
Reads saved password from shelve db
Reads saved password from shelve db
"Reads saved password from shelve db"
self