File stuffΒΆ

  • Parse dirname from path

os.path.dirname(path)
  • Parse Filename from path

os.path.basename(path)
  • Test if a file is readable

os.access(out_file, os.R_OK)