Last active
May 9, 2022 22:14
-
-
Save froop/55b6bc768351cf439c55b7130189e979 to your computer and use it in GitHub Desktop.
[Python] ファイル大量作成
This file contains 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
import subprocess | |
for i in range(100000): | |
subprocess.check_call('touch dummyfile%08d.txt' % i, shell=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment