Class struct_passwd
object --+
|
struct_passwd
pwd.struct_passwd: Results from getpw*() routines.
This object may be accessed either as a tuple of
(pw_name,pw_passwd,pw_uid,pw_gid,pw_gecos,pw_dir,pw_shell)
or via the object attributes as named in the above tuple.
|
n_fields = 7
|
|
n_sequence_fields = 7
|
|
n_unnamed_fields = 0
|
|
pw_dir
home directory
|
|
pw_gecos
real name
|
|
pw_gid
group id
|
|
pw_name
user name
|
|
pw_passwd
password
|
|
pw_shell
shell program
|
|
pw_uid
user id
|
Inherited from object :
__class__
|
__getslice__(x,
i,
j)
(Slicling operator)
|
|
x[i:j]
Use of negative indices is not supported.
|
__hash__(x)
(Hashing function)
|
|
hash(x)
- Overrides:
object.__hash__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
helper for pickle
- Overrides:
object.__reduce__
- (inherited documentation)
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|