Exemplo n.º 1
0
from make_db_file import loadDbase, storeDbase 
db = loadDbase() 
db['sue']['pay'] *= 1.10 
db['tom']['name'] = 'Tom Tom' 
storeDbase(db)
Exemplo n.º 2
0
"""
eg. 1-4
"""

from make_db_file import loadDbase, storeDbase
db = loadDbase()
db['sue']['pay'] *= 1.10
db['tom']['name'] = 'Tom Tom'
storeDbase(db)

from make_db_file import storeDbase,loadDbase

data_box = loadDbase()
data_box['sue']['pay'] *= 1.10 
#data_box['tom']['name'] = 'Tom Tom'

storeDbase(data_box)
Exemplo n.º 4
0
#__author__ = 'DKjack'
from make_db_file import  loadDbase, storeDbase
db=loadDbase()
db['sue']['pay']*=1.10
db['tom']['name']='Tom Tom'
storeDbase()
Exemplo n.º 5
0
# from make_db_file import loadDbase2
import make_db_file

# make_db_file.loadDbase2()

db = make_db_file.loadDbase()

db['sue']['pay'] *= 1.10
db['tom']['name'] = 'Tom Tom'

make_db_file.storeDbase(db)