run py file using manage.py in django code example
Example 1: django shell
python manage.py shell
Example 2: django-admin startproject
$ django-admin <command> [options]
$ manage.py <command> [options]
$ python -m django <command> [options]
python manage.py shell
$ django-admin <command> [options]
$ manage.py <command> [options]
$ python -m django <command> [options]