Greg> Kevin Altis <altis@semi-retired.com>: >> Pity the functions aren't named os.path.head and os.path.tail. Greg> It wouldn't be entirely clear what they mean even then -- "head" Greg> might mean just the first pathname component. ... Greg> Maybe they should be called Greg> "all_except_the_last_pathname_component" and Greg> "last_pathname_component"? I know, how about car and cdr? ;-) Skip