os.getlogin으로 얻을 수 있다.
os.getlogin
>>> import os >>> os.getlogin() 'rydbr'
platform.system()
socket.gethostname()