This blog is available for sale. More than 150 published articles. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
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.
© 2022-2023 Python Circle