getuser

Help on function getuser in module getpass:

getuser()
    Get the username from the environment or password database.

    First try various environment variables, then the password
    database.  This works on Windows as long as USERNAME is set.

posted on 2013-06-17 16:29  语辰  阅读(206)  评论(0编辑  收藏  举报