Skip to content

Instantly share code, notes, and snippets.

@edujustin-hphk
Last active July 7, 2019 11:40
Show Gist options
  • Save edujustin-hphk/92ca7b00726024328354feb1997a72bd to your computer and use it in GitHub Desktop.
Save edujustin-hphk/92ca7b00726024328354feb1997a72bd to your computer and use it in GitHub Desktop.
# Create dummy files
import os
import random
family = ['김','이','박','최','황','오','강','한','제갈','하','정','송','현','손','조']
given = ['길동','준','민준','소미','수진','지은','동해','민태','준호','세정','지훈','성우','성원']
for i in range(500):
cmd = f"touch ./dummy/{i+1}_{random.choice(family)}{random.choice(given)}.txt"
print(cmd)
os.system(cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment