lolimoska

Untitled

Oct 20th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. with open('vime_1.txt') as f:
  2. strok = sum(1 for _ in f)
  3.  
  4.  
  5. f2 = open('vimeclear.txt', 'w')
  6. massiv = []
  7.  
  8. f1 = open('vime_1.txt', 'r')
  9.  
  10.  
  11. for line in f1:
  12. massiv = line.split(' ')
  13. if (massiv[4]) != "0.00":
  14. f2.write(line)
  15. f1.close()
  16. f2.close()
Add Comment
Please, Sign In to add comment