def get(cls, filename):
        """
        Get the absolute path of a file added through C{SparkContext.addFile()}.
        """
        path = os.path.join(SparkFiles.getRootDirectory(), filename)
        return os.path.abspath(path)
def get ( cls , filename ) : path = os . path . join ( SparkFiles . getRootDirectory ( ) , filename ) return os . path . abspath ( path )
Get the absolute path of a file added through C{SparkContext.addFile()}.