python - how to get the username of the computer code example Example: python get username import os username = os.getlogin()