title: Python script to run Django commands
body: <p>I want to run a python scripts which should do:</p>
  
  <ol>
  <li>Create a django project: <code>django-admin startproject foobar</code></li>
  <li>Create a app in the project: <code>python manage.py barfoo</code></li>
  <li>Add an entry of newly created app <code>barfoo</code> in the setting's <code>INSTALLED_APP</code>.</li>
  </ol>
  
  <p>How can I achieve this?</p>