Turns out Python can do this more explicitly with the `posixpath` module. Specifically, `posixpath.join`. Good catch @ElBrogrammer