NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

database.open()

Syntax

open(name)

Description

Opens an existing database with the given name. The name must be supplied without the .db file extension. The open() command returns a Database object which you can use in your script to add tables and rows, or retrieve data.

Example

db = ximport("database")
book = db.open("book")