Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. while True:
  2. if space.free > 3500000:
  3.  
  4. while space.free > 3500000:
  5.  
  6. import shutil
  7.  
  8. space = shutil.disk_usage(r"z:")
  9.  
  10. num = 1
  11.  
  12. while True:
  13. if space.free > 3500000:
  14. filemame = "Test_PDF " + str(num) + ".pdf"
  15. shutil.copy(r"C:UsersMattDesktopTest_PDF.pdf", r"Z:" + filemame)
  16. num += 1
  17. print(space.free)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement