in python, with os.path.join, I can join directories paths
import os
os.path.join('/usr','opt', 'bin')
'/usr/opt/bin'
how I can merge two path ?
from
/a/b/c + c/d
get
/a/b/c/d
in python, with os.path.join, I can join directories paths
import os
os.path.join('/usr','opt', 'bin')
'/usr/opt/bin'
how I can merge two path ?
from
/a/b/c + c/d
get
/a/b/c/d
Copyright © 2021 Jogjafile Inc.
If you are sure that the paths are of the form you give an example for,
would do it.