Python module for rasters

2008-11-18 Thread John Townsend
I'm working on a script that will compare two raster files and tell me if they match or not. Are there any Python modules that will compare rasters (e.g. Photoshop files and Tiffs)? Any suggestions welcome. John Townsend (5-7204), AGM-FL and PSL QE Lead -- http://mail.python.org/ma

Filter function and lists

2008-10-29 Thread John Townsend
s filter work only with function that take only a single arg? Thanks John Townsend (5-7204), AGM-FL and PSL QE Lead -- http://mail.python.org/mailman/listinfo/python-list

RE: Dictionary of Dicts question

2008-10-16 Thread John Townsend
f Dicts question On Thu, 16 Oct 2008 14:05:16 -0700, John Townsend <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > I have two text files. Each file contains data like this: > > Test file 1234 4567 8975 > > I want to compare the numbers in each text fi

RE: Dictionary of Dicts question

2008-10-16 Thread John Townsend
anyone has a better idea, I'd love to hear it. -Original Message- From: Joe Strout [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 1:49 PM To: John Townsend Subject: Re: Dictionary of Dicts question On Oct 16, 2008, at 1:19 PM, John Townsend wrote: > Accessing value

Dictionary of Dicts question

2008-10-16 Thread John Townsend
thon interpreter yields 9021 However, when I try to add, let's say, a new FileName entry, I end up replacing the previous FileName entry. In Python interpreter, I try: myDict['TestName'] = {'NewFileName': {}, } I get {'TestName': {'NewFileName':