diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-07-27 21:11:28 -0400 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-07-27 21:12:22 -0400 |
commit | f11ad72d4ee2c6821749e1bf95c46d3f2c2cd860 (patch) | |
tree | a34487b5be0966c57b7055c3c5b96aedca628dad /python/examples/pi.py | |
parent | f3d72ff2fef6d9aac7fea70df567ab8c4cbea1d5 (diff) | |
download | spark-f11ad72d4ee2c6821749e1bf95c46d3f2c2cd860.tar.gz spark-f11ad72d4ee2c6821749e1bf95c46d3f2c2cd860.tar.bz2 spark-f11ad72d4ee2c6821749e1bf95c46d3f2c2cd860.zip |
Some fixes to Python examples (style and package name for LR)
Diffstat (limited to 'python/examples/pi.py')
-rwxr-xr-x[-rw-r--r--] | python/examples/pi.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/examples/pi.py b/python/examples/pi.py index 33c026e824..ab0645fc2f 100644..100755 --- a/python/examples/pi.py +++ b/python/examples/pi.py @@ -24,8 +24,7 @@ from pyspark import SparkContext if __name__ == "__main__": if len(sys.argv) == 1: - print >> sys.stderr, \ - "Usage: PythonPi <master> [<slices>]" + print >> sys.stderr, "Usage: pi <master> [<slices>]" exit(-1) sc = SparkContext(sys.argv[1], "PythonPi") slices = int(sys.argv[2]) if len(sys.argv) > 2 else 2 |