Giampaolo Rodola'
Return the name of the user logged in on the controlling terminal of the process. For most purposes, it is more useful to use the environment variable LOGNAME to find out who the user is, or pwd.getpwuid(os.getuid())[0] to get the login name of the currently effective user id.
Since os.getuid() refers to _real_ uid the last sentence should be changed as such:
- ... to get the login name of the currently effective user id.
+ ... to get the login name of the currently real user id.
----------
_______________________________________
Python tracker