12 Nov
2002
12 Nov
'02
3:56 p.m.
Luton, Alex wrote:
want to search a zcatalog of dtml pages based on their text content and title. At the moment, I'm doing two separate searches and concatenating the results using a script, much the same as the example in the zope book. When the two results are concatenated duplicates may occur, so I'm looking for a way to join the two correctly. This must be a fairly common requirement, but I can't find any similar examples. Here's my python script:
hi, you have to remove duplicates from a sequence. here are some nice howtos: http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.064.htp http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52560 cheers, maik