Thanks to you all.
I'll start trying the buzhug solution, which seems more pythonic. But I
feel like I gotta learn how to use databases... once I studied SQL a
litle bit, but don't remember much.
I'll play around with Python and then I show what I got.
Bye
Rodolfo
P.S: Is there a way to do a "
[EMAIL PROTECTED] wrote:
> Hello there!
>
> I'm trying to make a simple Contact Manager using python (console
> only), however i'm having trouble implementing a division by "Groups"
> or "Labels" just like in Gmail. I don't have any real code to post
> because all i got now is a raw TXT file holdin
Rodolfo wrote:
[...]
> Ok, but how can I keep my Relationship Table out of bugs, bad data?!
> I wonder how i'll control the following:
> 1st) Given an generic email, in which group(s) is it contained?
> 2nd) Given a group, which Emails/contacts does it contain?
To none perhaps?
> I don't have muc
Hi George,
George Sakkis wrote:
> Google for "many-to-many relationships". In short, you have two entity
> classes (say emails and labels) where each instance of one entity may
> be associated to zero or more instances of the other entity. In
> databases you implement this by having three tables,
[EMAIL PROTECTED] wrote:
> Hello there!
>
> I'm trying to make a simple Contact Manager using python (console
> only), however i'm having trouble implementing a division by "Groups"
> or "Labels" just like in Gmail. I don't have any real code to post
> because all i got now is a raw TXT file holdi
I would probably go with an SQLite database to store your information.
You can have the contacts listed in a table with unique ids, then a
table of labels. Finally, create a table that links one or more labels
with each contact. Then you can just keep adding more labels.
--
http://mail.python
Hello there!
I'm trying to make a simple Contact Manager using python (console
only), however i'm having trouble implementing a division by "Groups"
or "Labels" just like in Gmail. I don't have any real code to post
because all i got now is a raw TXT file holding the names and phones of
my contact