Sep-25-2020, 11:40 PM
The gf now has Python on her Windows 10 laptop. She wants to learn a bit of Python.
To make the file executable in Linux I usually just go to the file, right click, choose Properties, then Permissions, then click the box "Allow executing the file as program" or I can use: chmod +x myscript.py. in bash. (Yesterday I spent about an hour wondering why my new app wouldn't run, until I realized I had forgotten this step!)
Then I can run the program in bash, or lately, I've made some tkinter stuff which starts from an icon on the desktop.
I know nothing about Windows, except that I don't like it.
How should I make a Python program executable in Windows?
I read a bit about pyinstaller. Is this the best way?
To make the file executable in Linux I usually just go to the file, right click, choose Properties, then Permissions, then click the box "Allow executing the file as program" or I can use: chmod +x myscript.py. in bash. (Yesterday I spent about an hour wondering why my new app wouldn't run, until I realized I had forgotten this step!)
Then I can run the program in bash, or lately, I've made some tkinter stuff which starts from an icon on the desktop.
I know nothing about Windows, except that I don't like it.
How should I make a Python program executable in Windows?
I read a bit about pyinstaller. Is this the best way?