I'm trying to use the __builtin__ filter function within a class;
however, I receive the following error:
NameError: global name 'MajEthnic' is not defined
The line of code is: EthMaj = filter(self.MajEthnic,flist)
So, I'm trying to use the MajEthnic function to filter the list flist.
Any
On Fri, 02 Nov 2007 09:42:17 -0700, david.katkowski wrote:
I'm trying to use the __builtin__ filter function within a class;
however, I receive the following error:
NameError: global name 'MajEthnic' is not defined
The line of code is: EthMaj = filter(self.MajEthnic,flist)
So, I'm