Who is the user??

Fredrik Lundh fredrik at pythonware.com
Wed Jul 3 12:59:17 EDT 2002


Kristian Sons wrote:

> is there a possibility to find out, wich user startet the python-script??

import getpass
user = getpass.getuser()

</F>





More information about the Python-list mailing list