[python] What is the difference between os.path.basename() and os.path.dirname()?



0 Answers

Question

I'm new in Python programming and while studying I had this doubt about this two functions. I already searched for answers and read some links, but didn't understood. Can anyone give some simple explanation?






Related



Tags

python python