def confirm_code(self, arg):
        if arg.isdigit() and int(arg) == self.conf_code:
            #We have now verified this is the correct person, grab their player info and
            #reset their password
            self.player.playerize(self.world.db.select('* FROM player WHERE dbid=?', [self.dbid])[0])
            self.player.update_output(CLEAR + 'Type in your new password: ' + CONCEAL)
            self.password = None
            self.next_state = self.create_password
        else:
            self.player.update_output(CLEAR + 'The code you entered was incorrect.')
            self.player.update_output('Copy the code here to continue: ')
Write the table to a CSV file. E.g.::
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/modes/init_mode.py/InitMode.confirm_code--crossover with--dataset/ETHPy150Open alimanfoo/petl/petl/io/csv.py/tocsv