LoginSignup
1
1

More than 5 years have passed since last update.

[Python] Folder作り。

Posted at

こんにちは
自分整理

必要なこと

create.py
import os

ディレクトリ経路

create.py
dir_name = '../output/'

これで

create.py
if not os.path.isdir(dir_name):
    os.mkdir('../output/')
else : 
    result.to_excel('../output/result_01.xlsx')
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1