def __init__( self, name, dbfile = '<STR_LIT>', create = False ):
super(SqlliteLabNotebook, self).__init__(name)<EOL>self._dbfile = dbfile<EOL>self._connection = None<EOL>if os.path.isfile(self._dbfile):<EOL><INDENT>if create:<EOL><INDENT>os.remove(self._dbfile)<EOL>self.open()<EOL>self._createDatabase()<EOL><DEDENT>else:<EOL><INDENT>self.open()<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.open()<EOL>self._createDatabase()<EOL><DEDENT>
Create an empty notebook in the given database file, or in
        memory by default.

        dbfile: name of the database. By default creates an in-memory database
        create: if True, overwrite any existing database in the named file.
                By default opens the database