netrc
index
/usr/lib/python2.1/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.
__getitem__
(...)
from
exceptions.Exception
__init__
(self, msg, filename
=None
, lineno
=None
)
__str__
(self)
class
netrc
__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']
__file__
= '/usr/lib/python2.1/netrc.pyc'
__name__
= 'netrc'