how to start python on cmd code example
Example 1: how to run cmd command python
import subprocess
subprocess.run(["ls", "-l"])
Example 2: python start project cmd
$ python manage.py startapp myapp
import subprocess
subprocess.run(["ls", "-l"])
$ python manage.py startapp myapp