This is how to How to call a shell script from python code
import subprocess
subprocess.call(['sh shell_script.sh arguments'])
or
import sys, os
os.system("sh shell_script.sh arguments")
Output Example
IT – Engineering – Cloud – Finance
IT, Engineering, Entrepreneurship, Sports, Finances, Life, Success, Failure
import subprocess
subprocess.call(['sh shell_script.sh arguments'])
or
import sys, os
os.system("sh shell_script.sh arguments")
Output Example