[code.view]

[top] / python / PyMOTW / filecmp / filecmp_dircmp_diff.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2008 Doug Hellmann All rights reserved.
     #
     """
     """
     
     __version__ = "$Id$"
     #end_pymotw_header
     
     import filecmp
     
     dc = filecmp.dircmp('example/dir1', 'example/dir2')
     print 'Same      :', dc.same_files
     print 'Different :', dc.diff_files
     print 'Funny     :', dc.funny_files

[top] / python / PyMOTW / filecmp / filecmp_dircmp_diff.py

contact | logmethods.com