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,…])
Last updated at Dec. 13, 2024 by Teachoo
Answer:
The join( ) method is used to join various path components in the os.path module.
Syntax:
os.path.join ([dir1, dir2,…])
Past Year - 1 Mark Questions
Question 2 Important
Question 3
Question 4 Important
Question 5
Question 6
Question 7
Question 8
Question 9
Question 10 Important
Question 11
Question 12 Important
Question 13
Question 14 Important
Question 15
Question 16 Important
Question 17 Important
Question 18 Important
Question 19 You are here
Question 20
About the Author
Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science and Computer Science at Teachoo