How to change “python manage.py” to “./manage.py”?
问题 I want to shorten python manage.py to ./manage.py . This may be simple, but I couldn't find an answer for this. I saw a step by step method in one of the answers for questions about django but I did not memorize that. Tried to search for answers on stackoverflow to no avail. Any help would be appreciated. 回答1: If you're on a Unix based system: Make sure the file has the proper shebang (=this line) as the topmost line (it should have this by default already): #!/usr/bin/env python Make your