Samir Hi Steve, The easiest way to do it is to use the USERNAME environment variable : print(sys.env.USERNAME)