def do_open(self, line):
        ''' .open ?FILENAME?       
Close existing database and reopen FILENAME
'''
        if line:
            self.database = line
            self.conn = sqlite3.connect(line)
            self.conn.row_factory = sqlite3.Row
            self.cur = self.conn.cursor()
 .open ?FILENAME?       
Close existing database and reopen FILENAME

bin/sqlite.py