Bruno Desthuilliers wrote: > [EMAIL PROTECTED] a �crit : > > > > Bruno Desthuilliers wrote: > > > >>... that's definitively not > >>something I'd store in global. > > > > > > So where would you put it? > > You don't have to "put" functions arguments anywhere - they're already > local vars.
Bruno, right now I've got this: def __init__ ( self, t ): """ Constructor, called with array of strings. """ self.text = t ... Some other program will say: tok = Toker( text_array ) tokens = tok.tokenize() So how does the constructor make the array of strings available to the tokenize() method? -- http://mail.python.org/mailman/listinfo/python-list