finding out console user (Win95)

Radovan Garabik garabik at melkor.dnp.fmph.uniba.sk.spam
Fri Nov 5 09:07:52 EST 1999


I am porting my script from unix to windows, and I need to find 
console user under win95 (under WinNT I can use os.environ['USERNAME'],
which is not exactly console user, but good enough for me).
Something like cuserid() or getlogin() as implemented in
Cygwin would be ideal....
Is there a simple way to find it?

TIA

-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__         garabik @ fmph.uniba.sk           |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!




More information about the Python-list mailing list