[Tutor] Method to create small and simple database

Joel M. joelmontes01 at gmail.com
Sun Oct 30 20:33:23 CET 2011


On Sat, Oct 29, 2011 at 6:58 PM, Alan Gauld <alan.gauld at btinternet.com>wrote:

> On 29/10/11 19:28, Joel Montes de Oca wrote:
>
>  After looking at the Python module documentation for sqlite3
>> (http://docs.python.org/**library/sqlite3.html#module-**sqlite3<http://docs.python.org/library/sqlite3.html#module-sqlite3>),
>> it seems
>> to me it's the best way to make the small database that I am looking for.
>>
>
> SQLlite is a great way to build small scale SQL databases.
> However for this app I'd probably second the advice to use shelve.
> Shelve acts like a dictionary in a file so you can associate a list of
> items with a user very very easily.
>
>
>
>  Now I need to look for a basic tutorial on constructing a simple
>> database (tables, rows, keys) and how to connect all that stuff
>> together. If anyone happens to know of a good intro tutorial or
>> documentation to database concepts, please forward it to me.
>>
>
> You can try the database topic in my tutorial(see below).
> It's only available for Python v2 at present but the translation
> to Python v3 (if that's what you are using) is trivial.
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
>
>
> ______________________________**_________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/**mailman/listinfo/tutor<http://mail.python.org/mailman/listinfo/tutor>
>



I will take a look into Shelve and Alan's tutorial sometime this coming
week.

Keep the suggestions coming if there's more. :)

-Joel M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111030/dd2ee420/attachment.html>


More information about the Tutor mailing list