Python Path Get String Length Python Function Parameters