Python Function Modify Input Director Tutorial Meaning