netrc
index
/usr/local/lib/python2.3/netrc.py
An object-oriented interface to .
netrc
files.
Modules
os
shlex
Classes
exceptions.Exception
NetrcParseError
netrc
class
NetrcParseError
(
exceptions.Exception
)
Exception
raised on syntax errors in the .
netrc
file.
Methods defined here:
__init__
(self, msg, filename
=None
, lineno
=None
)
__str__
(self)
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
class
netrc
Methods defined here:
__init__
(self, file
=None
)
__repr__
(self)
Dump the class data in the format of a .
netrc
file.
authenticators
(self, host)
Return a (user, account, password) tuple for given host.
Data
__all__
= ['netrc', 'NetrcParseError']