Python Forum

Full Version: Converting to exe problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
No problem
(Apr-20-2019, 11:22 PM)francisco_neves2020 Wrote: [ -> ]I have created a tkinter warning to tell people to not close the cmd, otherwise the program will close
You have to use --windowed or --noconsole when using GUI.
Example:
pyinstaller --onefile --noconsole tk_test.py
Leave don't use a wrapper like auto-py-to-exe if something goes wrong or try to do more advance stuff.
Pyinstaller has god docs.
A tutorial i have here using pyinstaller.
(Apr-20-2019, 11:46 PM)snippsat Wrote: [ -> ]
(Apr-20-2019, 11:22 PM)francisco_neves2020 Wrote: [ -> ]I have created a tkinter warning to tell people to not close the cmd, otherwise the program will close
You have to use --windowed or --noconsole when using GUI.
Example:
pyinstaller --onefile --noconsole tk_test.py
Leave don't use a wrapper like auto-py-to-exe if something goes wrong or try to do more advance stuff.
Pyinstaller has god docs.
A tutorial i have here using pyinstaller.

Anything you may tell me i have already done it, except hte one mentioned in the post about path, --noconseole, py, pyw, pyc, py2exe, one directory, one exe, still the same problem. I would love to give you the code, but i can't. Do to copyrights of myself, sorry and the lot of work i had to make the program, it is still in Alfa, (more to come) based on the users feedback
Pages: 1 2