Re: Search or compai problem

2006-08-18 Thread timgerr
John Machin wrote: > Gallagher, Tim (NE) wrote: > > I am new to python and I want to compare 2 strings, here is my code: > > [start] > > > > import active_directory > > import re > > > > lstUsers = [] > > Using "lst" or "l" as a variable name is bad news in any language; with > many fonts they are

Re: Search or compai problem

2006-08-19 Thread timgerr
Gabriel Genellina wrote: > At Saturday 19/8/2006 01:16, [EMAIL PROTECTED] wrote: > > >it is really lstusers (it is an L not a # 1), Some of the output from > >print lstUsers has the output of None. I and trying to filter the None > >out of the list. I come from a perl background and this is ho