Newbie question on 'cmpfiles':
dbrueck at edgix.com
Tue Dec 5 15:48:22 CET 2000
I haven't really used this module, so this may not help too much:
common is a list of filenames that exist in both directories. Depending on
what you need, maybe you shouldn't call that function at all (instead use
filecmp.cmp to compare two files, and create a filecmp.dircmp object to
compare the contents of two directories).
> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of harisri at my-deja.com
> Sent: Monday, December 04, 2000 10:59 PM
> To: python-list at python.org
> Subject: Newbie question on 'cmpfiles':
> I am a newbie user to python 2.0
> Can someone help me by explaining 'cmpfiles' function with a simple
> I am trying to compare 2 directories, but not sure about the syntaxof
> this function. The "Python Reference Library" did not help me on this.
> [What does "common" mean in "cmpfiles(dir1, dir2, common)"?]
> Thanks in advance,
> Sent via Deja.com http://www.deja.com/
> Before you buy.
More information about the Python-list