Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

Python| Pythonでフォルダの作成

概要

Pythonでフォルダの作成

内容

osライブラリのmkdirメソッドでフォルダを作成します。

サンプルコード

# -*- coding: utf-8 -*-
import os
os.mkdir("./hoge")