find login name of user?
Martin P. Hellwig
mhellwig at xs4all.nl
Sat Dec 30 17:17:58 EST 2006
Uwe Hoffmann wrote:
> rattan at cps.cmich.edu schrieb:
>> Is there a function/module to find the login name of the user under
>> UNIX environment?
>
>
> http://docs.python.org/lib/os-procinfo.html
>
> http://docs.python.org/lib/module-pwd.html
Speaking of that, is there any reason why there isn't any syntactic
sugar that gives the illusion of platform neutral fetching of the user name?
--
mph
More information about the Python-list
mailing list