getting the current userid with Python

Greg Fortune lists at
Wed Aug 21 18:12:54 EDT 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