Guest User

Untitled

a guest
Jan 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from sys import argv
  2. import subprocess
  3.  
  4. script = argv
  5. name = str(script[0])
  6. print(name)
  7.  
  8. for i in range(0, 10):
  9. directoryName = 'copy'+str(i)
  10. subprocess.call(['mkdir', directoryName])
  11. subprocess.call(['cp', name])
Add Comment
Please, Sign In to add comment