title: How to run a .py file converted to binary using spark-submit ( In linux)
body: <p>I have a python script ( .py) in which I have python/pyspark code , I am running it using the command :  spark-submit filename.py.</p>
  <p>Now , I want to share my file with other people , but don't want them to know the code/logic. So I converted the python file in binary using pyinstaller, but now I am having trouble running the code.
  ( The problem is that the spark-submit needs to run the file before executing it , but binary file can only be executed)</p>
  <p>Please tell , if there any solution to above ?</p>