python get the windows user name code example
Example 1: python get username windows
username = os.getlogin()
Example 2: python get current user windows
import os
current_user = os.getlogin()
username = os.getlogin()
import os
current_user = os.getlogin()