netrc
index
/usr/lib/python2.2/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)
Data and non-method functions defined here:
__doc__
= 'Exception raised on syntax errors in the .netrc file.'
__module__
= 'netrc'
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 and non-method functions defined here:
__doc__
= None
__module__
= 'netrc'
Data
__all__
= ['netrc', 'NetrcParseError']
__file__
= '/usr/lib/python2.2/netrc.pyc'
__name__
= 'netrc'