![]() |
Best strategy for creating .exe for windows - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Best strategy for creating .exe for windows (/thread-36828.html) |
Best strategy for creating .exe for windows - hammer - Apr-03-2022 In Linux Mint 20.2,Python 3.8 I have created an app that I now want to have a few folks test on Windows machines. My searches tell me there are basically two ways to get at this to where i can share with them: use Wine or VirtualBox. I was hoping not to have to invest in a copy of Windows. Does anyone have any experience and can share pros/cons. I am not that experienced a programmer so i struggle doing complex set ups but if the instructions are good step by step I can handle. Thanks RE: Best strategy for creating .exe for windows - sastonrobert - Apr-03-2022 use "py auto to exe" may this will help you. RE: Best strategy for creating .exe for windows - hammer - Apr-04-2022 I may have missed it but researching above, i could not find where it supports cross compiling from Linux to Windows. RE: Best strategy for creating .exe for windows - snippsat - Apr-04-2022 (Apr-04-2022, 01:09 AM)hammer Wrote: i could not find where it supports cross compiling from Linux to Windows.Pyinstaller is not a cross-compiler. They way it works is that have to build on the platform you want distribute to. PyInstaller Wrote:PyInstaller is tested against Windows, Mac OS X, and GNU/Linux.So you have to do the work on Windows,then the .exe you give to other is stand alone(no work required on 3-part).The same on Linux when use Pyinstaller there it will make a executable that work on Linux. We have many post here about Pyinstaller it's a great tool that work with most of the 3-party packages in Python. Other alternatives PyOxidizer has a list. Missing Briefcase in links. RE: Best strategy for creating .exe for windows - hammer - Apr-05-2022 Thank you. I have a lot to learn beyond coding. I feel like the old farmer that gets caught in town over lunch so he goes into a chicken palace. After all the choice bombardment (crispy/original, 3piece/4piece, legs or thighs, regular or supersize, etc) he replies " madam, all i wanted was some *&#! fried chicken. |