python shell in django code example
Example 1: python django shell command
$ python manage.py shell
...
>>> execfile('myscript.py')
Example 2: django shell
python manage.py shell
$ python manage.py shell
...
>>> execfile('myscript.py')
python manage.py shell