[Tutor] building database with sqlite3 and matplotlib
David Kim
davidkim05 at gmail.com
Sat Aug 8 21:15:55 CEST 2009
Thanks so much for the comments! I appreciate the look. It's hard to know
what the best practices are (or if they even exist).
On Sat, Aug 8, 2009 at 2:28 PM, Kent Johnson <kent37 at tds.net> wrote:
>
> You don't seem to actually have a main(). Are you running this by importing
> it?
>
> I would make a separate function to create the database and call that
> from build_database().
>
I was running it as a standalone to see if it worked but forgot to move the
code to main(). I cut but never pasted!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090808/2b9b7659/attachment.htm>
More information about the Tutor
mailing list