python split path into list
Head of '/home/User/Desktop/file.txt': /home/User/Desktop
Tail of '/home/User/Desktop/file.txt': file.txt
Head of '/home/User/Desktop/': /home/User/Desktop
Tail of '/home/User/Desktop/':
Head of 'file.txt':
Tail of 'file.txt': file.txt