Ahha! Didn't know about os.pathsep. Seems simple enough to use that and be done with it.I'm just using str.split() just now. Is there a os.splitpath()? I don't see anything in the docs.
https://docs.python.org/3/library/os.path.html#os.path.split -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list