# coding: utf-8
# -*- coding: utf-8 -*-
import os
os.makedirs('test1',exist_ok=True)
フォルダの作成を上記のコードで実行すると
makedirs() got an unexpected keyword argument 'exist_ok'
というエラーが出た(Python2.7)
os.mkdirじゃないから'exist_ok'に対応してるはず
なんでだ
原因分かる人よろしければ教えてください
Go to list of users who liked
More than 5 years have passed since last update.
# coding: utf-8
# -*- coding: utf-8 -*-
import os
os.makedirs('test1',exist_ok=True)
フォルダの作成を上記のコードで実行すると
makedirs() got an unexpected keyword argument 'exist_ok'
というエラーが出た(Python2.7)
os.mkdirじゃないから'exist_ok'に対応してるはず
なんでだ
原因分かる人よろしければ教えてください
Register as a new user and use Qiita more conveniently
Go to list of users who liked