Here's my common prefix code (Re: suggestion for os.path.commonprefix)

Cristian Barbarosie barbaros at lmc.fc.ul.pt
Thu May 23 11:45:50 EDT 2002


Greg Ewing <look at replyto.address.invalid> wrote in message news:<3CEC5E05.396422FC at replyto.address.invalid>...
> I wrote some path utilities a while ago, including
> a common prefix finder, and I didn't use os.sep or 
> os.altsep. Instead, I picked the paths apart using 
> os.path.split and compared the elements.

  You should not have changed the subject line, I almost missed
your post. Thank you for the code.
  Cristian Barbarosie
  http://www.lmc.fc.ul.pt/~barbaros



More information about the Python-list mailing list