Reputation:
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
Upvotes: 3
Views: 3501
Reputation: 5
Why not try cx_Freeze? It freezes the document and makes it executable.
http://cx-freeze.sourceforge.net/
I love using it; it allows people who don't have Python installed on their computers to run and execute the file.
Upvotes: 0
Reputation: 125
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" %*
Upvotes: 4