Just for future reference, when it's part of the python standard library, always go to the docs for the full functions and methods available. http://docs.python.org/library/sqlite3.html It can make the usage a lot easier.