getting the current userid with Python

Greg Fortune lists at
Thu Aug 22 00:12:54 CEST 2002

In the os module documentation, 6.1.1 Process Parameters

 Return the current process' effective user id. Availability: Unix. 

 Return the current process' user id. Availability: Unix. 

Same stuff exists for the group as well...

More information about the Python-list mailing list