I would like to know if there are something like this in python?
If so, could you provided any web with examples?
EXTRA:
If you are trying to run it like a normal python program it will give you an error:
Run it using:
spark-submit --packages com.microsoft.azure:azure-eventhubs-spark_2.11:2.3.9 nameoffile.py