os.path.join(path, *paths)
>>> import os >>> os.path.join('/home/user', 'documents', 'file.txt') '/home/user/documents/file.txt'