Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. f = open('config_sw1.txt')
  2. config = f.readlines()
  3.  
  4.  
  5. for lines in config:
  6. x = lines.rstrip().split('\n')
  7. y = ''.join(x).strip()
  8.  
  9.  
  10. for i in ignore:
  11. if i in y:
  12. continue
  13.  
  14. print(y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement