pyspark.SparkFiles.get

classmethod SparkFiles.get(filename: str) → str[source]

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