I am trying to use psutil library to get users logged in to linux system. For that i used function psutil.users() I want to extract the username from this list, what shall i do? Also what is suser here? Answer I don’t know why they choose the name suser, but it’s actually a namedtuple. That shouldn’t matter, you get the