Interactive Python Shell Alternatively, if you prefer Python, you can use the Python shell: ./bin/pyspark And run the following command, which should also return 1,000,000,000: >>> spark.range(1000 * 1000 * 1000).count() Example Programs Spark also comes with several sample programs ...