"extract file name from path, no matter what the os/path format",print(os.path.basename(your_path))