Skip to content

Instantly share code, notes, and snippets.

View hjoon0510's full-sized avatar

Lim Hyunjoon hjoon0510

View GitHub Profile
@keithweaver
keithweaver / create-folder.py
Created March 10, 2017 03:42
Create a folder with Python
import os
def createFolder(directory):
try:
if not os.path.exists(directory):
os.makedirs(directory)
except OSError:
print ('Error: Creating directory. ' + directory)