What does os.getlogin() return?
A. name of the current user logged in
B. name of the superuser
C. gets a form to login as a different user
D. all of the above
Answer:A
What does os.getlogin() return?
A. name of the current user logged in B. name of the superuser C. gets a form to login as a different user D. all of the above
Explanation: It returns the name of the user who is currently logged in and is running the script.