In Python, suppose I have a path like this:

/folderA/folderB/folderC/folderD/

How can I get just the folderD part?

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *