We used to make a python file executable by chmod +x manage.py. So we were able to execute like this ./manage.py. But i am using windows CLI and what command should i used to make that manage.py executable. I am not able to understand from the docs of python.org
You can do it this way:
Suppose Python is installed in "D:\Program Files\Python\python.exe" then you need to key in
D:\Program Files\Python\python.exe "%1" %*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With