Suppose I have a Django application (like myapp ) and a Python script (say myscript.py ) in the same directory. How could I start (and stop) the Django application from a script? Is there an object or function for this? Or should I use a subprocess trick?
source share