def __init__(self, balance=10): self.account_info = Store() curr_balance = self.account_info.checkout("balance") curr_balance.set(balance) curr_balance.commit()
def __init__(self): super(Sprite, self).__init__() self.sprite_state = Store() self.update_pos(400, 300) self.pos = self.get_pos() print self.pos