title: Running a PySpark code in python vs spark-submit
body: <p>I have a PySpark code/application. What is the best way to run it (utilize the maximum power of PySpark), using the <code>python interpreter</code> or using <code>spark-submit</code>?</p>
  
  <p>The SO answer <a href="https://stackoverflow.com/questions/26726780/what-is-the-difference-between-spark-submit-and-pyspark">here</a> was almost similar but did not explain it in great details. Would love to know, why? </p>
  
  <p>Any help is appreciated. Thanks in advance.</p>