2015-05-29 Python2.7: Linuxコマンドを使う Pythonでlsなどのコマンドを使う方法です。 import os command = "mkdir hoge" os.system(command); 簡単ですが以上です。