def address_delete(name): addressbook.remove_address(name)
def do_remove_address(self, line): self.lastcmd = "" print addressbook.remove_address(line)