My program needs to communicate with another program in Python. What I need my program to do is... execute
#login (username) (password)
in the shell, and see if the output login gives is "Success!" or "Failure.".
I think the system() function might help, but I don't know what it is or how to use it. What would you do?