Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79712 > unrolled thread

Sample sqlite databases for use in python

Started byNicholas Cannon <nicholascannon1@gmail.com>
First post2014-10-26 03:06 -0700
Last post2014-10-26 12:03 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Sample sqlite databases for use in python Nicholas Cannon <nicholascannon1@gmail.com> - 2014-10-26 03:06 -0700
    Re: Sample sqlite databases for use in python Peter Otten <__peter__@web.de> - 2014-10-26 12:03 +0100

#79712 — Sample sqlite databases for use in python

FromNicholas Cannon <nicholascannon1@gmail.com>
Date2014-10-26 03:06 -0700
SubjectSample sqlite databases for use in python
Message-ID<e25a2397-0883-4bd1-abb1-9f3934f1af4f@googlegroups.com>
Hello I am making a data management program and although i can make my own databases I would like a couple sample ones to check out. Of course I searched on google for sample db's and I downloaded some but they are not working and I keep getting: 
                    File is not a database or encrypted

The error is not exactly like that but it does say that it may be encrypted or not a database. I want the end user to take a database and load it in to my program but I dont wont this happening even if the file is a sqlite3 one as well. 

[toc] | [next] | [standalone]


#79713

FromPeter Otten <__peter__@web.de>
Date2014-10-26 12:03 +0100
Message-ID<mailman.15194.1414321407.18130.python-list@python.org>
In reply to#79712
Nicholas Cannon wrote:

> Hello I am making a data management program and although i can make my own
> databases I would like a couple sample ones to check out. Of course I
> searched on google for sample db's and I downloaded some but they are not
> working and I keep getting:
>                     File is not a database or encrypted
> 
> The error is not exactly like that but it does say that it may be
> encrypted or not a database. 

Always cut and paste the actual error message.

> I want the end user to take a database and
> load it in to my program but I dont wont this happening even if the file
> is a sqlite3 one as well.

If my crystal ball is working you are experiencing the same problem as

https://mail.python.org/pipermail/tutor/2013-July/097022.html

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web