Skip to content

Instantly share code, notes, and snippets.

View pareksha's full-sized avatar
:octocat:
Code && Coffee

Pareksha Manchanda pareksha

:octocat:
Code && Coffee
  • Chandigarh, India
View GitHub Profile
@ByoungInKim
ByoungInKim / create_directory.py
Last active May 30, 2024 08:33
python - create directory if path if it doesn`t exist for file write
import os
directory = '/home/kenny/gist'
if not os.path.exists(directory):
os.makedirs(directory)