runpy module#
We can use internal runpy
to execute different moduls in our project.
This is used in my pyspark project.
submit.py | |
---|---|
Now, the spark job can be invoked by
Also, we can wrapper this shell command into a script.
We can use internal runpy
to execute different moduls in our project.
This is used in my pyspark project.
submit.py | |
---|---|
Now, the spark job can be invoked by
Also, we can wrapper this shell command into a script.