Re: tests

2007-08-09 Thread Jay Loden
Steve Holden wrote: > This discussion seems to assume that Excel spreadsheets are stored in > some canonical form so that two spreads with the same functionality are > always identical on disk to the last bit. I very much doubt this is true > (consider as an example the file properties that can

Re: tests

2007-08-09 Thread Steve Holden
Jason wrote: > On Aug 9, 8:46 am, "special_dragonfly" <[EMAIL PROTECTED]> > wrote: >> <[EMAIL PROTECTED]> wrote in message >>> http://docs.python.org/lib/module-filecmp.html >> My understanding of reading that is that it only looks at the file names >> themselves and not their contents. So whether

Re: tests

2007-08-09 Thread Jason
On Aug 9, 8:46 am, "special_dragonfly" <[EMAIL PROTECTED]> wrote: > <[EMAIL PROTECTED]> wrote in message > >http://docs.python.org/lib/module-filecmp.html > > My understanding of reading that is that it only looks at the file names > themselves and not their contents. So whether filename1=filename2

Re: tests

2007-08-09 Thread special_dragonfly
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Aug 9, 4:04 pm, brad <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >> > You should be able to read chunks of each file in binary mode and do a >> > compare to check for equality. Some kind of loop should do the trick. >> >>

Re: tests

2007-08-09 Thread dijkstra . arjen
On Aug 9, 4:04 pm, brad <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > You should be able to read chunks of each file in binary mode and do a > > compare to check for equality. Some kind of loop should do the trick. > > Why not a simple md5 or sha with the hash library? Or even: http:/

Re: tests

2007-08-09 Thread brad
[EMAIL PROTECTED] wrote: > You should be able to read chunks of each file in binary mode and do a > compare to check for equality. Some kind of loop should do the trick. Why not a simple md5 or sha with the hash library? -- http://mail.python.org/mailman/listinfo/python-list

Re: tests

2007-08-09 Thread André Martins
Generate a hash of two files and compare -- http://mail.python.org/mailman/listinfo/python-list

Re: tests

2007-08-09 Thread kyosohma
On Aug 9, 8:21 am, nikolay marinov <[EMAIL PROTECTED]> wrote: > Hi, everyone.Does anybody have an idea how can i test two xls files for > equality with Python You should be able to read chunks of each file in binary mode and do a compare to check for equality. Some kind of loop should do the trick

Re: Tests for Python Database API

2007-07-09 Thread Gerhard Häring
MD wrote: > Are there any tests that will help me ensure that my Python database > driver conforms to the Database API v2.0 specification? There's this: http://www.initd.org/tracker/psycopg/browser/psycopg2/trunk/tests/dbapi20.py -- Gerhard -- http://mail.python.org/mailman/listinfo/python-list