Sail E0 Webinar
Question
What does os.getlogin() return?
Options:
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: Option A


It returns the name of the user who is currently logged in and is running the script.



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers