On 12/10/11 01:37, Cameron Simpson wrote:
On 09Dec2011 19:44, Tim Chase wrote:
| Currently I can get the currently-logged-in-userid via
| getpass.getuser() which would yield something like "tchase".
_If_ you're on a terminal. _And_ that's exactly what you want.
Personally I need to the name of
On 10Dec2011 08:43, Hans Mulder wrote:
| On 10/12/11 02:44:48, Tim Chase wrote:
| >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 o
On 10/12/11 02:44:48, Tim Chase wrote:
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 W
On 09Dec2011 19:44, Tim Chase wrote:
| Currently I can get the currently-logged-in-userid via
| getpass.getuser() which would yield something like "tchase".
_If_ you're on a terminal. _And_ that's exactly what you want.
Personally I need to the name of geteuid() or getuid() more often.
| Is ther
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?