Skip to content

Instantly share code, notes, and snippets.

View Pringleman83's full-sized avatar

David Bristoll Pringleman83

  • Birmingham UK
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)