Pythonで既存チェックもしながらフォルダを作成する方法 2023年6月14日 / 1 min read View more blogs with the tag python Table of Contents #はじめに #方法 はじめに Pythonで既存チェックもしながらフォルダを作成する方法です。 方法 import os if not os.path.isdir('new_folder'): os.makedirs('new_folder')