2017-01-10 pythonで特定のDirectoryのファイルをすべて処理する AI 以下のようにos.listdirを使うとできる。 for f in os.listdir(f"{ROOT_PATH}/test/data"): print(f) 参考: stackoverflow.com