How to set path for login selector for an app

I have python script , which should automate the login for an app, I’m running the script but it doesn’t do any automation , i figured out it was a problem with xpath, but i don’t know how to set the path for the login , need help.