run commands from python shell code example
Example 1: how to run cmd line commands in python
import os
os.system("javac lolol.java")# or something....
Example 2: call shell script from python
import subprocess
subprocess.call(["./shell.sh"])
# Make sure that "shell.sh" has "+x" permissions