netrc
index
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/netrc.py
Module Docs

An object-oriented interface to .netrc files.

 
Modules
       
os
pwd
shlex
stat

 
Classes
       
exceptions.Exception(exceptions.BaseException)
NetrcParseError
netrc

 
class NetrcParseError(exceptions.Exception)
    Exception raised on syntax errors in the .netrc file.
 
 
Method resolution order:
NetrcParseError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods defined here:
__init__(self, msg, filename=None, lineno=None)
__str__(self)

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
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']