Next / Previous / Contents / Shipman's homepage

6.8. PathInfo.absPath(): Absolute path

This method returns the absolute path name equivalent to self.path. It uses the standard Python function os.path.abspath().

pathinfo.py
# - - -   P a t h I n f o . a b s P a t h   - - -

    def absPath ( self ):
        """Return self's absolute path name."""
        return  os.path.abspath ( self.path )