Skip to content

Instantly share code, notes, and snippets.

View DATTUSAM's full-sized avatar
🎯
Focusing

DATTU SAMPATH KUMAR P DATTUSAM

🎯
Focusing
  • LG H&A Lab
  • Greater Noida, India
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)