One thought is a default dictionary
import containers
counts = containers.defaultdict(int)
for pair in my_array:
counts[pair] += 1
duplicated_pairs = [x for x in counts if counts[x] > 1]
Gerry
On Wed, Dec 22, 2010 at 12:21 PM, wrote:
> Send python-win32 mailing list submissions to
>
I seem to be missing an executable:
C:\Temp\pywin32-218>setup install
Building pywin32 2.7.218.0
running install
running build
running build_py
running build_ext
Found version 0x600 in C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\SDKDDKVER.H
building 'perfmondata' extension
mc.exe -h win3
ging the list at
>python-win32-ow...@python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of python-win32 digest..."
>
>
> Today's Topics:
>
> 1. Problem installing for Python 2.7,32-bit: mc.e