Page 349 -
P. 349
manage your data
Python includes SQLite
Python 3 comes preinstalled with Release 3 of SQLite, a full-featured, zero-
config, SQL-based data management system.
To use SQLite, simply import the sqlite3 library and use Python’s
standardized database API to program it.There’s really nothing to it: no
database setup, no config, and no ongoing maintenance.
With your data stored in SQLite, rewrite your webapp’s model code to use
SQL to access, manipulate, and query your data. You can plan to move
to one of the bigger database systems if and when your application needs
dictate such a move.
SQLite sounds perfect for the NUAC’s data, doesn’t it?
Geek Bits
The material in this chapter assumes
you are comfortable with SQL
database technology. If you are
new to SQL (or just need a quick
refresher), take a look at Head
First SQL, which comes highly
recommended.
[Note from Marketing: Available anywhere
good books are sold and to anyone with a
valid credit card.]
you are here 4 313

