def seteuid(uid):
 uid = parse_uid(uid)
 if (uid != os.getuid()):
  os.seteuid(uid)

def seteuid ( uid ) : uid = parse_uid ( uid ) if ( uid != os . getuid ( ) ) : os . seteuid ( uid )
set effective user id .