Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. import os
  2. import io
  3.  
  4. path = "C:\SVNs\Bin\Client\Metadata\Effects\Microtransactions\Town_Portals\manVMachinePortal\pet"
  5.  
  6. path.replace("//", "\\")
  7. fname = os.listdir(path)
  8.  
  9.  
  10.  
  11.  
  12.  
  13. for i in fname:
  14.     print i
  15.     fPath = path + "\\" +i
  16.  
  17.     f = io.open(fPath, encoding ="UTF-16")
  18.  
  19.     line = f.readlines()
  20.     for j in line:
  21.  
  22.         if "Art" in j:
  23.             print j
  24.         else:
  25.             pass
  26.  
  27.     f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement