2015-02-12 51 views

回答

3
if not os.path.exists(directory): 
    os.makedirs(directory) 

如果指定的目錄不存在:
然後創建它。