Hi, Currently I have the following code:
ignored_dirs = ( r".\boost\include" ) if __name__ == "__main__": # Walk the directory tree rooted at 'source' for root, dirs, files in os.walk( source ): if root not in ignored_dirs: CopyFiles( root, files, ".dll" ) else: print root Specifically take a look at the if condition checking if a string is inside of ignored_dirs. Of course this will only do substring searches, however I want to perform an exact match on this string. Is there anyway of doing this? Thanks.
-- http://mail.python.org/mailman/listinfo/python-list