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