Skip> os.path.commonprefix(["/home/swen", "/home/swenson"])
Skip> would yield the most likely invalid path "/home/sw" as the common
Skip> prefix.
Ack! I meant to use this example:
os.path.commonprefix(["/home/swen", "/home/swanson"])
which would yield "/home/sw"...
S