Reversing A String In Python Using A Posixpath