Show the import in the sqlite3 example

This commit is contained in:
Raymond Hettinger 2012-02-01 13:32:45 -08:00
parent 3c8807bd5e
commit 81a55c01b8
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ To use the module, you must first create a :class:`Connection` object that
represents the database. Here the data will be stored in the
:file:`/tmp/example` file::
import sqlite3
conn = sqlite3.connect('/tmp/example')
You can also supply the special name ``:memory:`` to create a database in RAM.