[code.view]

[top] / python / PyMOTW / filecmp / filecmp_dircmp_membership.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 'Common:', dc.common
     print 'Left  :', dc.left_only
     print 'Right :', dc.right_only
     

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

contact | logmethods.com