Re: Initializing an attribute that needs the object

2006-06-02 Thread Marco Giusti
On Fri, Jun 02, 2006 at 06:15:28PM -0300, David Pratt wrote: >Hi. I want to have different handlers to do perform logic. The problem >is the Handler requires an instance of the factory since it will use its >own methods in conjunction with methods of the factory. > >Once I have got a Factory inst

Re: How to find all the same words in a text?

2007-02-10 Thread Marco Giusti
On Sat, Feb 10, 2007 at 05:29:23AM -0800, Johny wrote: >I need to find all the same words in a text . >What would be the best idea to do that? >I used string.find but it does not work properly for the words. >Let suppose I want to find a number 324 in the text > >'45 324 45324' > >there is only

Re: How to find all the same words in a text?

2007-02-10 Thread Marco Giusti
On Sat, Feb 10, 2007 at 06:00:05AM -0800, Johny wrote: >On Feb 10, 2:42 pm, Marco Giusti <[EMAIL PROTECTED]> wrote: >> On Sat, Feb 10, 2007 at 05:29:23AM -0800, Johny wrote: >> >I need to find all the same words in a text . >> >What would be the best idea to do th