Obtaining user information
Tim Chase
python.list at tim.thechases.com
Fri Dec 9 20:44:48 EST 2011
More information about the Python-list mailing list
Fri Dec 9 20:44:48 EST 2011
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Currently I can get the currently-logged-in-userid via getpass.getuser() which would yield something like "tchase". Is there a cross-platform way to get the full username (such as from the GECOS field of /etc/passed or via something like NetUserGetInfo on Win32 so I'd get "Tim Chase" instead? Thanks, -tkc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list