Actually, this is how I start a pyspark... by reverse
engineering how pyspark
starts, I wrote a broader pythonStartup.py script so that, among
things, I adds the the environment & imports that I need
scipy, etc), and also can use it like this:
>> python -i /path/to/my/pythonStartup.py
>> bpython -i /path/to/my/pythonStartup.py
(excellent for it's code intelligence / completion).
>> And used for the python shell that starts in
my WING IDE.