Check sibling questions

Why do we use the join () function? Give its syntax.

 

Answer:

The join( ) method is used to join various path components in the os.path module.

Syntax:

os.path.join ([dir1, dir2,…]) 

Introducing your new favourite teacher - Teachoo Black, at only ₹83 per month

CA Maninder Singh's photo - Expert in Practical Accounts, Taxation and Efiling

Made by

CA Maninder Singh

CA Maninder Singh is a Chartered Accountant for the past 12 years. He also provides Accounts Tax GST Training in Delhi, Kerala and online.