i just started learning spark using python and found the following initialization of PySpark's SparkContext class
sc = SparkContext(master="local[24]",pyFiles=['codes/spark_codes.py'])
I read the documentation, it mentioned that it is used to send files to the cluster and add to the PYTHONPATH
. But, since we will always be running the codes from the master, what is the use of this particular argument?