예제 #1
0
if __name__ == '__main__':
    from make_db_file import loadDatabase
    print(loadDatabase())
예제 #2
0
from make_db_file import loadDatabase
db = loadDatabase("a2.txt")
예제 #3
0
if __name__ == '__main__':
    from make_db_file import loadDatabase
    records = loadDatabase()
    print(len(records))
예제 #4
0
from make_db_file import loadDatabase

db = loadDatabase()
for key in db:
    print(key, '=>', db[key])
print()
print(db['sue']['name'])
예제 #5
0
__author__ = 'frsilent'

from make_db_file import loadDatabase

db = loadDatabase()
for key in db:
    print(key, '=>\n ', db[key])
print(db['sue']['name'])