SHARE
TWEET

Untitled

a guest Jun 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/python
  2.  
  3. import os
  4. import time
  5.  
  6. fstr = time.strftime("%d%b%Y_%H%M%S")
  7. logfile = "log_"+fstr+".txt"
  8. rcmd = 'dir /OD >logfile '
  9.  
  10. os.system(rcmd)
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