os.path Module

This os.path module implements some useful functions on pathnames. The path parameters can be passed as either strings, or bytes. Applications are encouraged to represent file names as (Unicode) character strings. Join Paths To join two or more path components together, firstly import os module of python and then use following: import osos.path.join(‘a’, ‘b’, ‘c’) … Continue reading os.path Module