【python】获取系统当前登录的用户名

import win32api
print win32api.GetUserName()

posted on 2012-09-07 15:04  jeJee  阅读(1242)  评论(0编辑  收藏  举报

导航