if __name__ == '__main__': from make_db_file import loadDatabase print(loadDatabase())
from make_db_file import loadDatabase db = loadDatabase("a2.txt")
if __name__ == '__main__': from make_db_file import loadDatabase records = loadDatabase() print(len(records))
from make_db_file import loadDatabase db = loadDatabase() for key in db: print(key, '=>', db[key]) print() print(db['sue']['name'])
__author__ = 'frsilent' from make_db_file import loadDatabase db = loadDatabase() for key in db: print(key, '=>\n ', db[key]) print(db['sue']['name'])