SHARE
TWEET

Untitled

a guest Jun 18th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. import shutil
  3. import fnmatch
  4.  
  5. source = os.listdir(r"\enterpriseAAAAAA")
  6. destination = os.listdir(r"\enterpriseREALAAA")
  7. set = {
  8. "AAA",
  9. "BBB",
  10. "CCC"
  11.        }
  12.  
  13. for file in source:
  14.     for x in set:
  15.         if file.__contains__(str(x)):
  16.             print(file)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top