← Go Back

How to Find Computer Username

>>> from getpass import getuser
>>> getuser()
'root'


getpass