SHARE
TWEET

Untitled

a guest Jan 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Vstatus():
  2.   def _init_(Status):
  3.     Status.countspeed == True
  4.     Status.active == True
  5.     Status.growingspeed == 0
  6.  
  7. import time
  8. import os
  9. #Your storage is at risk of over-expansion. Please do not let this file run forever, as your storage will fill continuously.
  10. #This is for educational purposes only.
  11.  
  12. while Vstatus.Status.countspeed == True:
  13.     f = open('file.txt', 'a')
  14.     f.write('W')
  15.     fsize = os.stat('file.txt')
  16.     Key1 = fsize
  17.     time.sleep(1)
  18.     Key2 = fsize
  19.     Vstatus.Statuts.countspeed = False
  20.  
  21. while Vstatus.Status.active == True:
  22.      time.sleep(0.001)
  23.      f = open('file.txt', 'a')
  24.      f.write('W')
  25.      fsize = os.stat('file.txt')
  26.      print('size:' + fsize.st_size.__str__() + ' at a speed of ' + Vstatus.Status.growingspeed + 'bytes per second.')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top