Python Function Reference

os.path.join
Join one or more path components intelligently.
Python 3.13
os.path.join(path, *paths)
Examples
Python 3.13
>>> import os
>>> os.path.join('/home/user', 'documents', 'file.txt')
'/home/user/documents/file.txt'