pyspark.SparkFiles.get

classmethod SparkFiles.get(filename: str) → str

Get the absolute path of a file added through SparkContext.addFile().