extract filename from path in python

Solutions on MaxInterview for extract filename from path in python by the best coders in the world