get commant line in django code example
Example 1: python django shell command
$ python manage.py shell
...
>>> execfile('myscript.py')
Example 2: manage.py
It is your tool for executing many Django-specific tasks such as
starting a new app within a project, running the development server,
running your tests etc.
Example: python manage.py runserver