Skip to content

Instantly share code, notes, and snippets.

@froop
Last active May 9, 2022 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save froop/55b6bc768351cf439c55b7130189e979 to your computer and use it in GitHub Desktop.
Save froop/55b6bc768351cf439c55b7130189e979 to your computer and use it in GitHub Desktop.
[Python] ファイル大量作成
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