python の os.path.split はディレクトリとファイルの分割します. ... import os.path path_a = 'hoge/fuga/test.txt' path_b = '../foo/bar/higa.manami' path_c ...
確定! 回上一頁