On Jun 4, 2011, at 12:33 PM, bob k. wrote:
> C:\Photography\Software\dabo>c:\python27\python
> Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
> on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import sqlite3
>>>> cn = sqlite3.connect("rakPhoto.sqlite")
>>>> crs = cn.cursor()
>>>> crs.execute("select * from sqlite_master")
> <sqlite3.Cursor object at 0x01802420>
>>>> crs.fetchall()
> []
>>>>
So was the 'rakPhoto.sqlite' database file in the current directory? If
not, SQLite will create the database, which would show up as empty, as your
last line does.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]