Have a look at Tasty last time I checked it was postgres centric, it might
have changed now.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
> > Hi, I am curious about ways in Python to approach the idea of "tagging"
> > pieces of information much in the way that one can tag favorite websites
> > like on the site Del.icio.us. I'm not sure if tagging is the best term
>for
> > this (due to confusion with HTML tags), but the idea would
You may be able to use a dictionary to store your data chunks. eg:
>>> tagged_items = {('spam, swordfights'): 'ITEM A',
... ('swordfights', 'custard'): 'ITEM B'}
>>> [tagged_items[tags] for tags in tagged_items if 'spam' in tags]
['ITEM A']
>>> [tagged_items[tags] for tags in tagged_items if '
On 28/08/07, Che M <[EMAIL PROTECTED]> wrote:
> Hi, I am curious about ways in Python to approach the idea of "tagging"
> pieces of information much in the way that one can tag favorite websites
> like on the site Del.icio.us. I'm not sure if tagging is the best term for
> this (due to confusion w
On Aug 28, 2007, at 11:07 AM, Che M wrote:
> I don't know if there are any preexisting Python structures which
> would help
> with this or if it has to be done by scratch, or if it is easy or
> difficult.
> I also don't know what are good ideas for ways to save the tags,
> whether
> in a t
Hi, I am curious about ways in Python to approach the idea of "tagging"
pieces of information much in the way that one can tag favorite websites
like on the site Del.icio.us. I'm not sure if tagging is the best term for
this (due to confusion with HTML tags), but the idea would be a way to
ass