To join two or more path components together, firstly import os module of python and then use following:
import os
os.path.join('a', 'b', 'c')
The advantage of using os.path is that it allows code to remain compatible over all operating systems, as this uses the separator appropriate for the pl...