Re: How to define a db file for sqlite?

2009-03-08 Thread John Machin
On Mar 8, 6:32 pm, Muddy Coder cosmo_gene...@yahoo.com wrote: Hi Folks, I just downloaded and installed pysqlite, and I can import sqlite3 smoothly. Then, I need to connect sqlite by syntax: conn = sqlite3.connect('adirectory/db') I wish the data will be stored into directory ---

How to define a db file for sqlite?

2009-03-07 Thread Muddy Coder
Hi Folks, I just downloaded and installed pysqlite, and I can import sqlite3 smoothly. Then, I need to connect sqlite by syntax: conn = sqlite3.connect('adirectory/db') I wish the data will be stored into directory --- adirectory, with a file named in db. But I got kicked out with an error