How to run a script in PySpark
<p>I'm trying to run a script in the pyspark environment but so far I haven't been able to. How can I run a script like python script.py but in pyspark? Thanks</p>

<p>You can do: <code>./bin/spark-submit mypythonfile.py</code></p>

<p>Running python applications through 'pyspark' is not supported as of Spark 2.0.</p>

python apache-spark pyspark