Guest User

Untitled

a guest
Aug 23rd, 2021
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. with open('trash/bar.txt', 'w') as wf:
  2.     with open('trash/foo.txt') as rf:
  3.         for i in range(30000):
  4.             wf.write(rf.readline())
Advertisement
Add Comment
Please, Sign In to add comment