title: How to link local [py]spark to local jupyter notebook on window
body: <p>I have just started learning spark and have been using R &amp; Python on Jupyter notebook in my company.</p>
  
  <p>All spark and Jupyter are installed on my computer locally and function perfectly fine individually. </p>
  
  <p>Instead of creating .py script for pyspark in cmd every single time, could I possibly connect it to my Jupyter notebook live and run the scripts there? I have seen many posts on how to achieve that on Linux and Mac but sadly I will have to stick with Window 7 at this case.</p>
  
  <p>Thanks!
  Will</p>