The pythonic way equal to "whoami"

TheSaint nobody at nowhere.net.no
Wed Jun 8 09:58:17 EDT 2011


Kushal Kumaran wrote:

> os.geteuid
This return 0 for *root* . I don't know if it's a standard for all distro.
Mine is Archlinux.
I'd just like to avoid error caused by wrong access by user

-- 
goto /dev/null



More information about the Python-list mailing list