find login name of user?

Brian Beck exogen at gmail.com
Sun Dec 31 20:42:17 EST 2006


Martin P. Hellwig wrote:
> 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?

getpass.getuser() might come the closest:
  http://docs.python.org/lib/module-getpass.html

-- 
Brian Beck
Adventurer of the First Order



More information about the Python-list mailing list