nis.cat()

nis.cat(mapname, domain=default_domain)

Return a dictionary mapping key to value such that match(key, mapname)==value. Note that both keys and values of the dictionary are arbitrary arrays of bytes.

Note that mapname is first checked if it is an alias to another name.

The domain argument allows overriding the NIS domain used for the lookup. If unspecified, lookup is in the default NIS domain.

doc_python
2016-10-07 17:38:08
Comments
Leave a Comment

Please login to continue.