Last active
June 16, 2021 01:36
-
-
Save ImJoke/a327accb93407ff2c2e8e31b4dd7e4ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sys import argv | |
import subprocess | |
script = argv | |
name = str(script[0]) | |
for i in range(0,2): | |
directoryName = 'copy'+str(i) | |
subprocess.call(['mkdir', directoryName], shell=True) | |
subprocess.call(['cp', name, directoryName], shell=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment