Don't suggest os.path.join
since it does something strange
import os.path
base = "api/v1"
tail = "/employees"
os.path.join(base, tail)
'/employees'
I need function that really joins the parts of the path.
Don't suggest os.path.join
since it does something strange
import os.path
base = "api/v1"
tail = "/employees"
os.path.join(base, tail)
'/employees'
I need function that really joins the parts of the path.
You can basically use the plus sign and save the result into a variable:
base = "api/v1"
tail = "/employees"
path = base + tail