Skip to content

Instantly share code, notes, and snippets.

@edujustin-hphk
Created January 12, 2020 18:56
Show Gist options
  • Save edujustin-hphk/3979204248213d25ca4bd511ab478ff6 to your computer and use it in GitHub Desktop.
Save edujustin-hphk/3979204248213d25ca4bd511ab478ff6 to your computer and use it in GitHub Desktop.
dummy file
# Create dummy files
import os
import random
family = ['김','이','박','최','황','오','강','한','제갈','하','정','송','현','손','조']
given = ['길동','준','민준','소미','수진','지은','동해','민태','준호','세정','지훈','성우','성원']
for i in range(500):
cmd = f'echo.> {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