Answers for "how to get the username of the os"

8

python get username

import os

username = os.getlogin()
Posted by: Guest on January-01-2021

Code answers related to "how to get the username of the os"

Python Answers by Framework

Browse Popular Code Answers by Language